Modules: a module with submodules is its folder's page
(std test) and (std stm) were pages next to folders of their submodules, and the std menu lists folders first, so each showed up twice, far apart. The module page is now the folder's index.sz, so the menu has one entry for it, and its submodules are listed at the top of the page and in the menu below. (std test prop), (std test gen) and (std test expect) get pages, and the standard library chapter says what they have and links to them. 🤖 Generated with [ECA](https://eca.dev) Co-Authored-By: eca-agent <git@eca.dev>
This commit is contained in:
parent
ef24c95108
commit
11d435803c
8 changed files with 35 additions and 9 deletions
|
|
@ -1,3 +0,0 @@
|
|||
(meta (title "(std stm)"))
|
||||
|
||||
@generate-docs[#:module "std stm"]
|
||||
|
|
@ -1,2 +1,11 @@
|
|||
(meta (title "std stm: transactional data structures")
|
||||
(meta (title "(std stm)")
|
||||
(sort title))
|
||||
|
||||
@strong{Submodules:}
|
||||
@itemlist{
|
||||
@item{@link["map.html"]{@code{(std stm map)}}: a transactional hash map, @code{TMap}.}
|
||||
@item{@link["queue.html"]{@code{(std stm queue)}}: a transactional FIFO queue, @code{TQueue}, that is also a CML event.}
|
||||
@item{@link["counter.html"]{@code{(std stm counter)}}: a striped counter, @code{TCounter}, with few write conflicts between cores.}
|
||||
}
|
||||
|
||||
@generate-docs[#:module "std stm"]
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
(meta (title "(std test)"))
|
||||
|
||||
@generate-docs[#:module "std test"]
|
||||
3
modules/std/test/expect.sz
Normal file
3
modules/std/test/expect.sz
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(meta (title "(std test expect)"))
|
||||
|
||||
@generate-docs[#:module "std test expect"]
|
||||
3
modules/std/test/gen.sz
Normal file
3
modules/std/test/gen.sz
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(meta (title "(std test gen)"))
|
||||
|
||||
@generate-docs[#:module "std test gen"]
|
||||
11
modules/std/test/index.sz
Normal file
11
modules/std/test/index.sz
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(meta (title "(std test)")
|
||||
(sort title))
|
||||
|
||||
@strong{Submodules:}
|
||||
@itemlist{
|
||||
@item{@link["prop.html"]{@code{(std test prop)}}: property tests with @code{for-all}.}
|
||||
@item{@link["gen.html"]{@code{(std test gen)}}: the generators that @code{for-all} draws from, and @code{Arbitrary}.}
|
||||
@item{@link["expect.html"]{@code{(std test expect)}}: tests that compare output with a text in the test.}
|
||||
}
|
||||
|
||||
@generate-docs[#:module "std test"]
|
||||
3
modules/std/test/prop.sz
Normal file
3
modules/std/test/prop.sz
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(meta (title "(std test prop)"))
|
||||
|
||||
@generate-docs[#:module "std test prop"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue