Re: [PATCH] DocBook/HTML: Generate chapter/section level TOCs forfunctions
From: Randy Dunlap
Date: Mon Jan 01 2007 - 19:58:41 EST
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>
>
> Index: linux-2.6.19/Documentation/DocBook/stylesheet.xsl
> ===================================================================
> --- linux-2.6.19.orig/Documentation/DocBook/stylesheet.xsl
> +++ linux-2.6.19/Documentation/DocBook/stylesheet.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>
> </stylesheet>
Hi,
Is it possible to make the TOC contain active links to their
sections/functions? That would be even better, wouldn't it?
---
~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/