Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited632ab

Browse files
committed
doc: Configure TOC generation in XSLT HTML build
The default table of contents in the XSLT HTML build is much too big anddeep. Configure it to look more like the one that is currently beingproduced by the DSSSL build.
1 parent81051a8 commited632ab

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

‎doc/src/sgml/stylesheet.xsl

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<xsl:paramname="link.mailto.url">pgsql-docs@postgresql.org</xsl:param>
1919
<xsl:paramname="chunker.output.indent"select="'yes'"/>
2020
<xsl:paramname="chunk.quietly"select="1"></xsl:param>
21+
<xsl:paramname="toc.max.depth">2</xsl:param>
2122

2223

2324
<!-- Change display of some elements-->
@@ -38,4 +39,27 @@
3839
</span><br/>
3940
</xsl:template>
4041

42+
43+
<!-- table of contents configuration-->
44+
45+
<xsl:paramname="generate.toc">
46+
appendix toc,title
47+
article/appendix nop
48+
article toc,title
49+
book toc,title
50+
chapter toc,title
51+
part toc,title
52+
preface toc,title
53+
qandadiv toc
54+
qandaset toc
55+
reference toc,title
56+
sect1 toc
57+
sect2 toc
58+
sect3 toc
59+
sect4 toc
60+
sect5 toc
61+
section toc
62+
set toc,title
63+
</xsl:param>
64+
4165
</xsl:stylesheet>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp