Skip to content

Commit 49f2650

Browse files
committed
doc PG relnotes: no relnote footnotes for commit links in PDF
In print output, there are too many commit links for footnotes in the release notes to be useful. Reported-by: Tom Lane Discussion: https://postgr.es/m/1709858.1726618961@sss.pgh.pa.us Backpatch-through: 12
1 parent 884860b commit 49f2650

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/src/sgml/stylesheet-fo.xsl

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
<xsl:param name="tablecolumns.extension" select="0"></xsl:param>
1111
<xsl:param name="toc.max.depth">3</xsl:param>
1212
<xsl:param name="ulink.footnotes" select="1"></xsl:param>
13+
14+
<!-- The release notes have too many ulinks to look good as footnotes in print mode -->
15+
<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]">
16+
<!-- Do nothing for ulink to avoid footnotes -->
17+
</xsl:template>
18+
1319
<xsl:param name="use.extensions" select="1"></xsl:param>
1420
<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
1521
<xsl:param name="orderedlist.label.width">1.5em</xsl:param>

0 commit comments

Comments
 (0)