extfs: tester: improve HTML documentation output.

- We now have 4'th level headers: adjust --doc-depth.
- We have many short sections: highlight the active section's header.

Signed-off-by: Mooffie <mooffie@gmail.com>
This commit is contained in:
Mooffie 2017-01-08 07:21:22 +02:00
parent e4e4b214b4
commit f42bdb1261
2 changed files with 5 additions and 1 deletions

View File

@ -107,7 +107,7 @@ doc: README.html
# (Thanks to VPATH we don't need to write "$(srcdir)/README". doc/hlp/Makefile.am needlessly does this.)
README.html: README
pandoc --include-in-header=$(srcdir)/README.css.inc -N --old-dashes --toc --standalone -o $@ $<
pandoc --include-in-header=$(srcdir)/README.css.inc -N --old-dashes --toc --toc-depth=4 --standalone -o $@ $<
EXTRA_DIST += README.css.inc
CLEANFILES += README.html

View File

@ -16,4 +16,8 @@ h1, h2, h3 {
font-family: sans-serif;
}
:target {
background: linear-gradient(45deg, #FFF 0%, #7CC 100%);
}
</style>