]> granicus.if.org Git - neomutt/commitdiff
Manual: Limit toc section depth to 1
authorRocco Rutte <pdmef@gmx.net>
Sun, 31 Aug 2008 12:31:32 +0000 (14:31 +0200)
committerRocco Rutte <pdmef@gmx.net>
Sun, 31 Aug 2008 12:31:32 +0000 (14:31 +0200)
This only lists sect1 items and prevents variables from being
shown making it unusable.

doc/chunk.xsl
doc/html.xsl

index d473afd21143942d71772d8a8051f6811f540f72..07a90ff8516e7dc5f1d027d5ac69a14f80ada5dd 100644 (file)
@@ -4,4 +4,5 @@
   <xsl:param name="section.autolabel" select="1"/>
   <xsl:param name="use.id.as.filename" select="1"/>
   <xsl:param name="chunk.section.depth" select="0"/>
+  <xsl:param name="toc.section.depth" select="1"/>
 </xsl:stylesheet>  
index 473e0a6634184a3ae30f59e697d173dba7c42bbe..7eec152b5042947259d56ea43885e40b8f84003f 100644 (file)
@@ -1,5 +1,6 @@
 <?xml version='1.0'?> 
 <xsl:stylesheet  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  version="1.0"> 
   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 
-  <xsl:param name="section.autolabel" select="1"></xsl:param>
+  <xsl:param name="section.autolabel" select="1"/>
+  <xsl:param name="toc.section.depth" select="1"/>
 </xsl:stylesheet>