Make documentation builds reproducible
authorPeter Eisentraut
Mon, 22 Jan 2024 09:41:33 +0000 (10:41 +0100)
committerPeter Eisentraut
Mon, 22 Jan 2024 10:01:06 +0000 (11:01 +0100)
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
doc/src/sgml/stylesheet-html-common.xsl

index 5e7e132480335bf63a27524263e694ea21aff412..aff717ddbc78b7e339d8da576a6e47a3c540129a 100644 (file)
@@ -1,4 +1,8 @@
 
+
+
+%common.entities;
+]>
 
                 version="1.0"
                 xmlns:fo="http://www.w3.org/1999/XSL/Format">
   
 
 
+
+
+
+
+
+  
+  
+  
+
+  
+  
+
+  
+    
+      
+    
+  
+
+  
+    
+      
+    
+  
+
+  
+    
+      
+    
+  
+
+  
+    
+      
+        
+        ientry-
+        
+        
+      
+    
+    
+      true
+    
+
+    
+      
+        
+      
+    
+
+    
+
+    
+      
+        
+          
+          
+          
+          
+                         range-separator="{$range.separator}">
+            
+              
+                ref-key="{$primary.significant}"/>
+            
+            
+              
+                ref-key="{$primary}"/>
+            
+          
+        
+      
+      
+        
+          
+                                and not(secondary)]">
+            
+              
+              
+              
+              
+            
+          
+        
+
+        
+      
+    
+
+    
+      
+                           mode="index-see">
+         
+         
+         
+         
+      
+    
+
+  
+
+  
+    
+      
+                           mode="index-seealso">
+         
+         
+         
+         
+      
+      
+                           mode="index-secondary">
+       
+       
+       
+       
+      
+    
+  
+
+
+
+  
+  
+  
+
+  
+
+  
+  
+    
+      
+        
+      
+      
+        
+      
+    
+  
+
+  
+
+  
+    
+      
+      ientry-
+      
+        
+      
+      
+    
+  
+
+  
+     (
+    
+      
+    
+     
+    
+      
+      
+        
+          
+          
+        
+      
+      
+         
+      
+      
+        
+                       xsl:use-attribute-sets="xref.properties">
+          
+        
+      
+      
+        
+      
+    
+    )
+  
+
+
+
+   
+  
+  
+
+  
+    
+
+    
+
+    
+    
+      
+        
+          
+        
+        
+          
+        
+      
+    
+
+    
+
+    
+      
+        
+        ientry-
+        
+          
+        
+        
+      
+    
+
+    
+      (
+      
+        
+      
+       
+      
+        
+        
+          
+            
+            
+          
+        
+        
+          
+        
+        
+          
+                         xsl:use-attribute-sets="xref.properties">
+            
+          
+        
+        
+          
+        
+      
+      )
+    
+
+  
+
+
+
+
 
index a368e0e199087fa4b5e0c1fb6f82367cd60e07de..7f541c09885e5cc4a2f07f1ee886bd5cb37bec74 100644 (file)
@@ -436,4 +436,238 @@ set       toc,title
   
 
 
+
+
+
+
+
+  
+  
+  
+
+  
+  
+  
+    
+      
+      
+        
+        ientry-
+        
+        
+      
+    
+    
+      
+        
+          
+            
+          
+          
+            
+              
+            
+          
+        
+      
+    
+    
+    
+      
+        
+          
+            
+            
+            
+            
+          
+        
+      
+      
+        
+                              and not(secondary)][&scope;]">
+          
+            
+            
+            
+            
+          
+        
+      
+    
+
+    
+      
+                           mode="index-see">
+        
+        
+        
+        
+        
+      
+    
+  
+  
+    
+      
+        
+          
+                               mode="index-seealso">
+            
+            
+            
+            
+            
+          
+          
+                               mode="index-secondary">
+            
+            
+            
+            
+            
+          
+        
+      
+    
+    
+    
+      
+    
+  
+
+
+
+  
+  
+  
+
+  
+
+  
+  
+    
+      
+        
+      
+      
+        
+      
+    
+  
+
+  
+
+  
+    
+      
+      #ientry-
+      
+        
+      
+      
+    
+  
+
+   (
+  
+    
+  
+   
+  
+    
+    
+      
+        
+        
+      
+    
+    
+      
+    
+    
+      
+        
+      
+    
+    
+      
+    
+  
+  )
+
+
+
+  
+  
+  
+
+  
+    
+
+    
+
+    
+    
+      
+        
+          
+        
+        
+          
+        
+      
+    
+
+    
+
+    
+      
+        
+        #ientry-
+        
+          
+        
+        
+      
+    
+
+    
+      (
+      
+        
+      
+       
+      
+        
+        
+          
+            
+            
+          
+        
+        
+          
+        
+        
+          
+            
+          
+        
+        
+          
+        
+      
+      )
+    
+
+    
+      
+    
+  
+
+