[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1170-gdbabd773b

git at osgeo.org git at osgeo.org
Thu Jul 6 09:02:08 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  dbabd773bf56c6cb26e40d93638ea23ae82d1723 (commit)
      from  fa2b39876fd0a5e54b7fed0ce97dcd63d73afb03 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dbabd773bf56c6cb26e40d93638ea23ae82d1723
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Jul 6 18:01:38 2023 +0200

    Localize cheatsheet links to online manual

diff --git a/doc/Makefile.in b/doc/Makefile.in
index b48b8acdf..62bcc8433 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -75,7 +75,8 @@ XSLTPROC_PATH_OPT= \
 	--path $(XSLT_PATH)
 
 XSLTPROC_CUSTOM_VARS = \
-	--stringparam postgis_version $(POSTGIS_MAJOR_VERSION).$(POSTGIS_MINOR_VERSION)
+	--stringparam postgis_version $(POSTGIS_MAJOR_VERSION).$(POSTGIS_MINOR_VERSION) \
+	--stringparam postgis_language $(patsubst -%,%,$(DOCSUFFIX))/
 
 XSLTPROC_COMMONOPTS= \
 	$(XSLTPROC_PATH_OPT) \
diff --git a/doc/xsl/common_cheatsheet.xsl b/doc/xsl/common_cheatsheet.xsl
index eaa0d3510..acb56a102 100644
--- a/doc/xsl/common_cheatsheet.xsl
+++ b/doc/xsl/common_cheatsheet.xsl
@@ -1,6 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
+<xsl:variable name='new_tag'>Availability: <xsl:value-of select="$postgis_version" /></xsl:variable>
+<xsl:variable name='enhanced_tag'>Enhanced: <xsl:value-of select="$postgis_version" /></xsl:variable>
+<xsl:variable name='include_examples'>false</xsl:variable>
+<xsl:variable name='output_purpose'>true</xsl:variable>
+<xsl:variable name='linkstub'>https://postgis.net/docs/manual-<xsl:value-of select="$postgis_version" />/<xsl:value-of select="$postgis_language" /></xsl:variable>
+
+
 <!--macro to pull out function parameter names so we can provide a pretty arg list prefix for each function -->
 <xsl:template name="list_in_params">
 	<xsl:param name="func" />
diff --git a/doc/xsl/postgis_cheatsheet.html.xsl b/doc/xsl/postgis_cheatsheet.html.xsl
index 01aa0952e..a37d1c5ce 100644
--- a/doc/xsl/postgis_cheatsheet.html.xsl
+++ b/doc/xsl/postgis_cheatsheet.html.xsl
@@ -12,11 +12,6 @@
 	<xsl:include href="common_cheatsheet.xsl" />
 
 	<xsl:output method="text" />
-	<xsl:variable name='new_tag'>Availability: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='enhanced_tag'>Enhanced: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='include_examples'>false</xsl:variable>
-	<xsl:variable name='output_purpose'>true</xsl:variable>
-	<xsl:variable name='linkstub'>https://postgis.net/docs/manual-<xsl:value-of select="$postgis_version" />/</xsl:variable>
 
 <xsl:template match="/">
 	<xsl:text><![CDATA[<html>
diff --git a/doc/xsl/raster_cheatsheet.html.xsl b/doc/xsl/raster_cheatsheet.html.xsl
index f3a97ad0b..38ce371ba 100644
--- a/doc/xsl/raster_cheatsheet.html.xsl
+++ b/doc/xsl/raster_cheatsheet.html.xsl
@@ -12,11 +12,7 @@
 	<xsl:include href="common_cheatsheet.xsl" />
 
 	<xsl:output method="text" />
-	<xsl:variable name='new_tag'>Availability: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='enhanced_tag'>Enhanced: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='include_examples'>false</xsl:variable>
-	<xsl:variable name='output_purpose'>true</xsl:variable>
-	<xsl:variable name='linkstub'>https://postgis.net/docs/manual-<xsl:value-of select="$postgis_version" />/</xsl:variable>
+
 <xsl:template match="/">
 	<xsl:text><![CDATA[<html>
 <head>
diff --git a/doc/xsl/sfcgal_cheatsheet.html.xsl b/doc/xsl/sfcgal_cheatsheet.html.xsl
index ec3178861..929347f90 100644
--- a/doc/xsl/sfcgal_cheatsheet.html.xsl
+++ b/doc/xsl/sfcgal_cheatsheet.html.xsl
@@ -12,11 +12,7 @@
 	<xsl:include href="common_cheatsheet.xsl" />
 
 	<xsl:output method="text" />
-	<xsl:variable name='new_tag'>Availability: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='enhanced_tag'>Enhanced: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='include_examples'>false</xsl:variable>
-	<xsl:variable name='output_purpose'>true</xsl:variable>
-	<xsl:variable name='linkstub'>https://postgis.net/docs/manual-<xsl:value-of select="$postgis_version" />/</xsl:variable>
+
 <xsl:template match="/">
 	<xsl:text><![CDATA[<html>
 <head>
diff --git a/doc/xsl/tiger_geocoder_cheatsheet.html.xsl b/doc/xsl/tiger_geocoder_cheatsheet.html.xsl
index 43e8c8874..44695479d 100644
--- a/doc/xsl/tiger_geocoder_cheatsheet.html.xsl
+++ b/doc/xsl/tiger_geocoder_cheatsheet.html.xsl
@@ -12,11 +12,7 @@
 	<xsl:include href="common_cheatsheet.xsl" />
 
 	<xsl:output method="text" />
-	<xsl:variable name='new_tag'>Availability: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='enhanced_tag'>Enhanced: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='include_examples'>true</xsl:variable>
-	<xsl:variable name='output_purpose'>true</xsl:variable>
-	<xsl:variable name='linkstub'>http://postgis.net/docs/manual-<xsl:value-of select="$postgis_version" />/</xsl:variable>
+
 <xsl:template match="/">
 	<xsl:text><![CDATA[<html>
 <head>
diff --git a/doc/xsl/topology_cheatsheet.html.xsl b/doc/xsl/topology_cheatsheet.html.xsl
index 8b4f42620..fd9255de2 100644
--- a/doc/xsl/topology_cheatsheet.html.xsl
+++ b/doc/xsl/topology_cheatsheet.html.xsl
@@ -12,11 +12,6 @@
 	<xsl:include href="common_cheatsheet.xsl" />
 
 	<xsl:output method="text" />
-	<xsl:variable name='new_tag'>Availability: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='enhanced_tag'>Enhanced: <xsl:value-of select="$postgis_version" /></xsl:variable>
-	<xsl:variable name='include_examples'>false</xsl:variable>
-	<xsl:variable name='output_purpose'>true</xsl:variable>
-	<xsl:variable name='linkstub'>http://postgis.net/docs/manual-<xsl:value-of select="$postgis_version" />/</xsl:variable>
 <xsl:template match="/">
 	<xsl:text><![CDATA[<html>
 <head>

-----------------------------------------------------------------------

Summary of changes:
 doc/Makefile.in                            | 3 ++-
 doc/xsl/common_cheatsheet.xsl              | 7 +++++++
 doc/xsl/postgis_cheatsheet.html.xsl        | 5 -----
 doc/xsl/raster_cheatsheet.html.xsl         | 6 +-----
 doc/xsl/sfcgal_cheatsheet.html.xsl         | 6 +-----
 doc/xsl/tiger_geocoder_cheatsheet.html.xsl | 6 +-----
 doc/xsl/topology_cheatsheet.html.xsl       | 5 -----
 7 files changed, 12 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list