On Tue, Sep 17, 2024 at 08:13:20PM -0400, Bruce Momjian wrote: > I think trying to add text to each item is both redundant and confusing, > because I am guessing that many people will not even know what a commit > is, and will be confused by clicking on the link. > > What I have done is to add text to the top of "Appendix E. Release > Notes" explaining the symbol and what it links to. Patch attached.
I have applied an updated version of this patch, attached, which includes the paragraph, but only in non-print output. -- Bruce Momjian <br...@momjian.us> https://momjian.us EDB https://enterprisedb.com When a patient asks the doctor, "Am I going to die?", he means "Am I going to die soon?"
diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index cf6ba540876..d602374d347 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -69,6 +69,15 @@ For new features, add links to the documentation sections. review, so each item is truly a community effort. </para> + <para id="release-no-print-output"> + Section markers (§) in the release notes link to <ulink + url="https://git.postgresql.org/gitweb/?p=postgresql.git"><application>gitweb</application></ulink> + pages which show the primary <application>git</application> commit + messages and source tree changes responsible for the release note item. + There might be additional <application>git</application> commits which + are not shown. + </para> + <!-- When beginning a new major-release series, create a new release-NN.sgml file, removing the previous one, and change the &-reference here. diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index 739958bb804..1728124e9da 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -20,6 +20,11 @@ <!-- Do nothing for ulink to avoid footnotes --> </xsl:template> +<!-- Also suppress the description of the section markers in print mode --> +<xsl:template match="appendix[@id='release']//para[@id='release-no-print-output']"> + <!-- Output nothing for this para --> +</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>