Skip to content

Commit 120f883

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 fa3a022 commit 120f883

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/src/sgml/stylesheet-fo.xsl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
<xsl:param name="tablecolumns.extension" select="0"></xsl:param>
1515
<xsl:param name="toc.max.depth">3</xsl:param>
1616
<xsl:param name="ulink.footnotes" select="1"></xsl:param>
17+
18+
<!-- The release notes have too many ulinks to look good as footnotes in print mode -->
19+
<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]">
20+
<!-- Do nothing for ulink to avoid footnotes -->
21+
</xsl:template>
22+
1723
<xsl:param name="use.extensions" select="1"></xsl:param>
1824
<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
1925
<xsl:param name="orderedlist.label.width">1.5em</xsl:param>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy