Explorar o código

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

Jan Janak %!s(int64=17) %!d(string=hai) anos
pai
achega
7da1659d2e
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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>