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



On Sun, 31 Dec 2006 02:27:46 +0100 Pavel Pisa wrote:

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@xxxxxxxxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Andrew, please put this into -mm for testing.


Index: linux-2.6.19/Documentation/DocBook/style***.xsl
===================================================================
--- linux-2.6.19.orig/Documentation/DocBook/style***.xsl
+++ linux-2.6.19/Documentation/DocBook/style***.xsl
@@ -4,4 +4,5 @@
<param name="funcsynopsis.style">ansi</param>
<param name="funcsynopsis.tabular.threshold">80</param>
<!-- <param name="paper.type">A4</param> -->
+<param name="generate.section.toc.level">2</param>
</style***>
-

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/