[postgis-tickets] [SCM] postgis.net branch website updated. bd7c228aa47ab2519b41aaf9596c3da14e06825a

git at osgeo.org git at osgeo.org
Mon May 2 21:20:51 PDT 2022


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.net".

The branch, website has been updated
       via  bd7c228aa47ab2519b41aaf9596c3da14e06825a (commit)
      from  92ca191dcb8a9873f5bfe525fc76a17ec7231061 (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 bd7c228aa47ab2519b41aaf9596c3da14e06825a
Author: Regina Obe <lr at pcorp.us>
Date:   Tue May 3 00:20:45 2022 -0400

    Fix pdf links

diff --git a/config/_default/params.toml b/config/_default/params.toml
index 32ce337..a104992 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -135,9 +135,10 @@ dev_download = "/stuff"
 
 [postgis.releases]
   [postgis.releases.dev]
-    minor = "dev"
+    minor = "3.3"
     dev = "3.3.0dev"
     tag = "3.3.0dev"
+    is_dev = true
   [postgis.releases.32]
     minor = "3.2"
     dev = "3.2.2dev"
diff --git a/layouts/shortcodes/doclinks.html b/layouts/shortcodes/doclinks.html
index 7909903..f11df1f 100644
--- a/layouts/shortcodes/doclinks.html
+++ b/layouts/shortcodes/doclinks.html
@@ -2,12 +2,13 @@
 {{ $ver :=  (.Get 0)  }}
 {{ range sort $md "minor" "desc"}}
 {{ $key := .minor }}
-	{{ if ( and (eq $key "dev") (eq $ver "dev") )   }}
-* PostGIS {{ $key }} HTML: <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}">en</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-ja.html">ja</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-br.html">br</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-de.html">de</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-ko_KR.html">ko_KR</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-es.html">es</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-it.html">it</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-fr.html">fr</a>
-* PostGIS {{ $key }} PDF: <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}.pdf">en</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-ja.pdf">ja</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-br.pdf">br</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-de.pdf">de</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-ko_KR.pdf">ko_KR</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-es.pdf">es</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-it.pdf">it</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-fr.pdf">fr</a>
+{{ $tag := .tag }}
+	{{ if ( and (.is_dev) (eq $ver "dev") )   }}
+* PostGIS {{ $key }} HTML: <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/">en</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-ja.html">ja</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-dev/postgis-br.html">br</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-{{ $key }}/postgis-de.html">de</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-dev/postgis-ko_KR.html">ko_KR</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-dev/postgis-es.html">es</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-dev/postgis-it.html">it</a> <a href="{{$.Site.Params.postgis.site_docs}}/manual-dev/postgis-fr.html">fr</a>
+* PostGIS {{ $key }} PDF: <a href="{{$.Site.Params.postgis.dev_download}}/postgis-{{ $key }}.pdf">en</a>  <a href="{{$.Site.Params.postgis.dev_download}}/postgis-{{ $tag }}-br.pdf">br</a> <a href="{{$.Site.Params.postgis.dev_download}}/postgis-{{ $tag }}-de.pdf">de</a> <a href="{{$.Site.Params.postgis.dev_download}}/postgis-{{ $tag }}-es.pdf">es</a> <a href="{{$.Site.Params.postgis.dev_download}}/postgis-{{ $tag }}-it.pdf">it</a> <a href="{{$.Site.Params.postgis.dev_download}}/postgis-{{ $tag }}-fr.pdff">fr</a>
 	{{ end }}
-	{{ if ( and (ne $key "dev") (eq $ver "stable") (ne .eol true )  ) }}
-* PostGIS {{ $key }} ([HTML]({{$.Site.Params.postgis.site_docs}}/manual-{{ $key }})) ([PDF]({{ .Site.BaseURL }}stuff/postgis-{{ $key }}.pdf)) ([EPUB]({{ .Site.BaseURL }}stuff/postgis-{{ $key }}.epub))
+	{{ if ( and (ne .is_dev true) (eq $ver "stable") (ne .eol true )  ) }}
+* PostGIS {{ $key }} ([HTML]({{$.Site.Params.postgis.site_docs}}/manual-{{ $key }})) ([PDF]({{$.Site.Params.postgis.dev_download}}/postgis-{{ $key }}.pdf)) ([EPUB]({{$.Site.Params.postgis.dev_download}}/postgis-{{ $key }}.epub))
 	{{ end }}
 
 	{{ if (eq $ver "doxygen")  }}
diff --git a/layouts/shortcodes/sourcelinks.html b/layouts/shortcodes/sourcelinks.html
index e4fa09c..d3979a4 100644
--- a/layouts/shortcodes/sourcelinks.html
+++ b/layouts/shortcodes/sourcelinks.html
@@ -2,11 +2,11 @@
 {{ $md := $.Site.Params.postgis.releases }}
 {{ range sort $md "minor" "desc"}}
 
-	{{ if ( or ( and (eq .minor "dev") (eq $ver "dev") ) ( and (eq $ver "stable") (ne .minor "dev") (ne .eol true) )   )   }}
+	{{ if ( or ( and (eq .is_dev true) (eq $ver "dev") ) ( and (eq $ver "stable") (ne .is_dev true) (ne .eol true) )   )   }}
 		{{ $key := .dev }}
 * [postgis-{{ $key }}.tar.gz]({{ $.Site.Params.postgis.dev_download }}/postgis-{{ $key }}.tar.gz)
 	{{ end }}
-	{{ if ( and (eq $ver "release") (ne .minor "dev")  )  }}
+	{{ if ( and (eq $ver "release") (ne .is_dev true)  )  }}
 		{{ $key := .tag }}
 * [postgis-{{ $key }}.tar.gz {{ if .eol}} EOL{{ end }}]({{ $.Site.Params.postgis.release_source }}/postgis-{{ $key }}.tar.gz) [md5]({{$.Site.Params.postgis.dev_download}}/postgis-{{ $key }}.tar.gz.md5) [pdf]({{ $.Site.Params.postgis.release_docs }}/postgis-{{ $key}}.pdf) [html]({{$.Site.Params.postgis.release_docs}}/doc-html-{{ $key }}.tar.gz) ([Release Notes]({{ $.Site.Params.postgis.release_notes }}/{{ $key }}/NEWS))
 	{{end}}

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

Summary of changes:
 config/_default/params.toml         |  3 ++-
 layouts/shortcodes/doclinks.html    | 11 ++++++-----
 layouts/shortcodes/sourcelinks.html |  4 ++--
 3 files changed, 10 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list