Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] DocBook/HTML: Generate chapter/section level TOCs for functions

Simple increase of section TOC level generation significantly enhances
navigation experience through generated kernel API documentation.

This change restores back state from SGML tools time.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Pavel Pisa and committed by
Linus Torvalds
460e79c3 a784bf7c

+1
+1
Documentation/DocBook/stylesheet.xsl
··· 4 4 <param name="funcsynopsis.style">ansi</param> 5 5 <param name="funcsynopsis.tabular.threshold">80</param> 6 6 <!-- <param name="paper.type">A4</param> --> 7 + <param name="generate.section.toc.level">2</param> 7 8 </stylesheet>