diff options
author | bmah <bmah@FreeBSD.org> | 2001-10-26 20:26:59 +0000 |
---|---|---|
committer | bmah <bmah@FreeBSD.org> | 2001-10-26 20:26:59 +0000 |
commit | d4385b344bf27da1a298666eac630417d9538392 (patch) | |
tree | 2e57a6f8228905bd691f05464531fc3f27e77c54 /release | |
parent | dfb5c0da6e4852123fb12d6f6d2ba300c8c833f6 (diff) | |
download | FreeBSD-src-d4385b344bf27da1a298666eac630417d9538392.zip FreeBSD-src-d4385b344bf27da1a298666eac630417d9538392.tar.gz |
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).
Diffstat (limited to 'release')
-rw-r--r-- | release/doc/en_US.ISO8859-1/share/sgml/release.dsl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/doc/en_US.ISO8859-1/share/sgml/release.dsl b/release/doc/en_US.ISO8859-1/share/sgml/release.dsl index 2838743..032d512 100644 --- a/release/doc/en_US.ISO8859-1/share/sgml/release.dsl +++ b/release/doc/en_US.ISO8859-1/share/sgml/release.dsl @@ -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> |