Skip to content

Commit

Permalink
doc PG relnotes: no relnote footnotes for commit links in PDF
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bmomjian committed Sep 18, 2024
1 parent fa3a022 commit 120f883
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/src/sgml/stylesheet-fo.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
<xsl:param name="tablecolumns.extension" select="0"></xsl:param>
<xsl:param name="toc.max.depth">3</xsl:param>
<xsl:param name="ulink.footnotes" select="1"></xsl:param>

<!-- The release notes have too many ulinks to look good as footnotes in print mode -->
<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]">
<!-- Do nothing for ulink to avoid footnotes -->
</xsl:template>

<xsl:param name="use.extensions" select="1"></xsl:param>
<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
<xsl:param name="orderedlist.label.width">1.5em</xsl:param>
Expand Down

0 comments on commit 120f883

Please sign in to comment.