瀏覽代碼

- add section numbers to all outputs based on html
- add TOC to txt (which is used to generate READMEs)

Jan Janak 17 年之前
父節點
當前提交
7da1659d2e
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      doc/stylesheets/txt.xsl

+ 5 - 0
doc/stylesheets/txt.xsl

@@ -7,4 +7,9 @@
 
     <!-- Common XHTML customization -->
     <xsl:import href="xhtml.common.xsl"/>
+
+	<!-- Display all subsections in in the toc of READMEs -->
+  	<xsl:param name="toc.section.depth">4</xsl:param>
+  	<!-- Only the first section in the output should contain toc -->
+  	<xsl:param name="generate.section.toc.level">1</xsl:param>
 </xsl:stylesheet>