postgres.git / summary / log / commit / refs
commit 1eafea5d1bc5cf934eaf96e65115841fe3829986
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Sat Nov 30 03:42:47 2013 +0000
First released in: 9.4.0
doc: Simplify handling of variablelists in XSLT build
The previously used custom template is no longer necessary because
parameters provided by the standard style sheet can achieve the same
outcome.
doc/src/sgml/stylesheet-common.xsl | 2 ++
doc/src/sgml/stylesheet.xsl | 12 ------------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/doc/src/sgml/stylesheet-common.xsl b/doc/src/sgml/stylesheet-common.xsl
index d0e0f19c136..8486cfb1bbd 100644
--- a/doc/src/sgml/stylesheet-common.xsl
+++ b/doc/src/sgml/stylesheet-common.xsl
@@ -38,6 +38,8 @@
<xsl:param name="refentry.xref.manvolnum" select="0"/>
<xsl:param name="formal.procedures" select="0"></xsl:param>
<xsl:param name="punct.honorific" select="''"></xsl:param>
+<xsl:param name="variablelist.term.break.after">1</xsl:param>
+<xsl:param name="variablelist.term.separator"></xsl:param>
<!-- Change display of some elements -->
diff --git a/doc/src/sgml/stylesheet.xsl b/doc/src/sgml/stylesheet.xsl
index db3f72aac11..9dd4da6c7fd 100644
--- a/doc/src/sgml/stylesheet.xsl
+++ b/doc/src/sgml/stylesheet.xsl
@@ -36,18 +36,6 @@
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<!--
- Format multiple terms in varlistentry vertically, instead
- of comma-separated.
- -->
-
-<xsl:template match="varlistentry/term[position()!=last()]">
- <span class="term">
- <xsl:call-template name="anchor"/>
- <xsl:apply-templates/>
- </span><br/>
-</xsl:template>
-
<!-- table of contents configuration -->
[parent: 2393c7d10236]