mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
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:
parent
e4e4b214b4
commit
f42bdb1261
@ -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
|
||||
|
@ -16,4 +16,8 @@ h1, h2, h3 {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
:target {
|
||||
background: linear-gradient(45deg, #FFF 0%, #7CC 100%);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user