From b0f0a9432d0b6f53634a96715f2666f6d4ea25a1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 22 Jan 2024 10:41:33 +0100 Subject: [PATCH] Make documentation builds reproducible Currently, the documentation builds are not fully reproducible (in the sense of https://reproducible-builds.org/). A fix is available upstream (https://github.com/docbook/xslt10-stylesheets/issues/54) but not released. This commit patches the upstream fix into our customization layer. This patch addresses both the HTML and the FO output. The man output is already reproducible. Discussion: https://www.postgresql.org/message-id/flat/9077b779-a9f8-09c8-6e85-da1ebfba15af@eisentraut.org --- doc/src/sgml/stylesheet-fo.xsl | 259 ++++++++++++++++++++++++ doc/src/sgml/stylesheet-html-common.xsl | 234 +++++++++++++++++++++ 2 files changed, 493 insertions(+) diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index 5e7e132480..aff717ddbc 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -1,4 +1,8 @@ + +%common.entities; +]> @@ -138,4 +142,259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ientry- + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ientry- + + + + + + + + + ( + + + + + + + + + + + + + + + + + + + + + + + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ientry- + + + + + + + + + ( + + + + + + + + + + + + + + + + + + + + + + + + + ) + + + + + + + diff --git a/doc/src/sgml/stylesheet-html-common.xsl b/doc/src/sgml/stylesheet-html-common.xsl index a368e0e199..7f541c0988 100644 --- a/doc/src/sgml/stylesheet-html-common.xsl +++ b/doc/src/sgml/stylesheet-html-common.xsl @@ -436,4 +436,238 @@ set toc,title + + + + + + + + + + + +
+ + + + + ientry- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + +
+
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + #ientry- + + + + + + + + ( + + + + + + + + + + + + + + + + + + + + + + + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #ientry- + + + + + + + +
+ ( + + + + + + + + + + + + + + + + + + + + + + + + + ) +
+ + +
+
+
+
+ -- 2.39.5