[postgis-tickets] [SCM] postgis.net branch hugo updated. 297bc04e59c8a71c353692371f9e1acbbc7f7098

git at osgeo.org git at osgeo.org
Sun Feb 27 14:20:30 PST 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, hugo has been updated
       via  297bc04e59c8a71c353692371f9e1acbbc7f7098 (commit)
      from  99850e9b1f3aea66fdd43b8f9c4253f038d60702 (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 297bc04e59c8a71c353692371f9e1acbbc7f7098
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Feb 27 17:20:25 2022 -0500

    Fix doc path

diff --git a/config/_default/params.toml b/config/_default/params.toml
index bf8cbb8..baa6b3a 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -123,6 +123,7 @@ version = "3.2.1"
 release_docs =  "https://download.osgeo.org/postgis/docs"
 release_source = "https://download.osgeo.org/postgis/source"
 release_notes = "https://git.osgeo.org/gitea/postgis/postgis/raw/tag"
+site_docs =  "/docs/"
 dev_download = "/stuff"
 
 [postgis.releases]
diff --git a/layouts/shortcodes/doclinks.html b/layouts/shortcodes/doclinks.html
index 45b063b..7909903 100644
--- a/layouts/shortcodes/doclinks.html
+++ b/layouts/shortcodes/doclinks.html
@@ -3,15 +3,15 @@
 {{ range sort $md "minor" "desc"}}
 {{ $key := .minor }}
 	{{ if ( and (eq $key "dev") (eq $ver "dev") )   }}
-* PostGIS {{ $key }} HTML: <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}">en</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-ja.html">ja</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-br.html">br</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-de.html">de</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-ko_KR.html">ko_KR</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-es.html">es</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-it.html">it</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-fr.html">fr</a>
-* PostGIS {{ $key }} PDF: <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}.pdf">en</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-ja.pdf">ja</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-br.pdf">br</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-de.pdf">de</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-ko_KR.pdf">ko_KR</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-es.pdf">es</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-it.pdf">it</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-fr.pdf">fr</a>
+* 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>
 	{{ end }}
 	{{ if ( and (ne $key "dev") (eq $ver "stable") (ne .eol true )  ) }}
-* PostGIS {{ $key }} ([HTML]({{ $.Site.Params.baseurl }}docs/manual-{{ $key }})) ([PDF]({{ $.Site.Params.baseurl }}stuff/postgis-{{ $key }}.pdf)) ([EPUB]({{ $.Site.Params.baseurl }}stuff/postgis-{{ $key }}.epub))
+* PostGIS {{ $key }} ([HTML]({{$.Site.Params.postgis.site_docs}}/manual-{{ $key }})) ([PDF]({{ .Site.BaseURL }}stuff/postgis-{{ $key }}.pdf)) ([EPUB]({{ .Site.BaseURL }}stuff/postgis-{{ $key }}.epub))
 	{{ end }}
 
 	{{ if (eq $ver "doxygen")  }}
-* PostGIS {{ $key }} <a href="{{ $.Site.Params.baseurl }}docs/doxygen/{{ $key }}">doxygen</a>
+* PostGIS {{ $key }} <a href="{{$.Site.Params.postgis.site_docs}}/doxygen/{{ $key }}">doxygen</a>
 	{{ end }}
 {{ end }}
 

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

Summary of changes:
 config/_default/params.toml      | 1 +
 layouts/shortcodes/doclinks.html | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list