doc PG relnotes: remove warning about commit links in PDF build

Make paragraph empty instead of removing it.

Discussion: https://postgr.es/m/2029579.1726779139@sss.pgh.pa.us

Backpatch-through: 12
This commit is contained in:
Bruce Momjian 2024-09-19 18:05:22 -04:00
parent 80c8184dc3
commit 5a56bd4ed0

View File

@ -18,11 +18,11 @@
<!--
Suppress the description of the commit link markers in print mode.
Caues an "Unresolved ID reference found" warning during PDF builds
because the paragraph is suppressed in the output.
Use "node()" to keep the paragraph but remove all content; prevents
an "Unresolved ID reference found" warning during PDF builds.
-->
<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']">
<!-- Output nothing for this para -->
<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()">
<!-- Output an empty para -->
</xsl:template>
<xsl:param name="use.extensions" select="1"></xsl:param>