If an article in the release documentation has a table of contents,

make it go down to 3 section levels (the default depth for FreeBSD
articles is 1 level, but few articles have tables-of-contents
enabled).
This commit is contained in:
Bruce A. Mah 2001-10-26 20:26:59 +00:00
parent 1831900053
commit 09ab44abbd

View File

@ -65,6 +65,12 @@
(string-append "http://www.FreeBSD.org/cgi/man.cgi?query="
refentrytitle "&" "sektion=" manvolnum))
]]>
(define (toc-depth nd)
(if (string=? (gi nd) (normalize "book"))
3
3))
</style-specification-body>
</style-specification>