Skip to content

Commit 8a6e85b

Browse files
committed
doc PG relnotes: add paragraph explaining the section symbol
And suppress the symbol in print mode, where the section symbol does not appear. Discussion: https://postgr.es/m/ZuobILbmGGetxEg5@momjian.us Backpatch-through: 12
1 parent f986882 commit 8a6e85b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

doc/src/sgml/release.sgml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ For new features, add links to the documentation sections.
6969
review, so each item is truly a community effort.
7070
</para>
7171

72+
<para id="release-no-print-output">
73+
Section markers (&sect;) in the release notes link to <ulink
74+
url="https://git.postgresql.org/gitweb/?p=postgresql.git"><application>gitweb</application></ulink>
75+
pages which show the primary <application>git</application> commit
76+
messages and source tree changes responsible for the release note item.
77+
There might be additional <application>git</application> commits which
78+
are not shown.
79+
</para>
80+
7281
<!--
7382
When beginning a new major-release series, create a new release-NN.sgml
7483
file, removing the previous one, and change the &-reference here.

doc/src/sgml/stylesheet-fo.xsl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
<!-- Do nothing for ulink to avoid footnotes -->
2121
</xsl:template>
2222

23+
<!-- Also suppress the description of the section markers in print mode -->
24+
<xsl:template match="appendix[@id='release']//para[@id='release-no-print-output']">
25+
<!-- Output nothing for this para -->
26+
</xsl:template>
27+
2328
<xsl:param name="use.extensions" select="1"></xsl:param>
2429
<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
2530
<xsl:param name="orderedlist.label.width">1.5em</xsl:param>

0 commit comments

Comments
 (0)