mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
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:
parent
1831900053
commit
09ab44abbd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85562
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user