This is an automated email from the ASF dual-hosted git repository.

adutra pushed a commit to branch versioned-docs
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/versioned-docs by this push:
     new a9624b3aa Add "latest" permalink and navigation sidebar to 
documentation pages (versioned-docs branch) (#3877)
a9624b3aa is described below

commit a9624b3aa74b5d87699e1e02d9922c8d77a735d6
Author: Alexandre Dutra <[email protected]>
AuthorDate: Sat Feb 28 15:10:05 2026 +0100

    Add "latest" permalink and navigation sidebar to documentation pages 
(versioned-docs branch) (#3877)
---
 0.9.0/_index.md                    |  4 +++-
 1.0.0/_index.md                    |  4 +++-
 1.0.1/_index.md                    |  4 +++-
 1.1.0/_index.md                    |  4 +++-
 1.2.0/_index.md                    |  4 +++-
 1.3.0/_index.md                    |  4 +++-
 0.9.0/_index.md => _index.md       | 26 ++++++++------------------
 0.9.0/_index.md => latest/index.md | 24 +++++-------------------
 8 files changed, 31 insertions(+), 43 deletions(-)

diff --git a/0.9.0/_index.md b/0.9.0/_index.md
index e86afd503..ecd56adfd 100644
--- a/0.9.0/_index.md
+++ b/0.9.0/_index.md
@@ -20,14 +20,16 @@
 linkTitle: '0.9.0'
 title: '0.9.0'
 type: docs
-weight: 200
+weight: 900
 params:
   top_hidden: true
   show_page_toc: false
+  release_version: '0.9.0'
 cascade:
   type: docs
   params:
     show_page_toc: true
+    release_version: '0.9.0'
 # This file will NOT be copied into a new release's versioned docs folder.
 robots: noindex
 exclude_search: true
diff --git a/1.0.0/_index.md b/1.0.0/_index.md
index 4c99aa6b8..8b83cde5c 100644
--- a/1.0.0/_index.md
+++ b/1.0.0/_index.md
@@ -20,14 +20,16 @@
 linkTitle: '1.0.0'
 title: 'Overview'
 type: docs
-weight: 200
+weight: 10000
 params:
   top_hidden: true
   show_page_toc: false
+  release_version: '1.0.0'
 cascade:
   type: docs
   params:
     show_page_toc: true
+    release_version: '1.0.0'
 # This file will NOT be copied into a new release's versioned docs folder.
 robots: noindex
 exclude_search: true
diff --git a/1.0.1/_index.md b/1.0.1/_index.md
index a94138bf9..f70b40ec4 100644
--- a/1.0.1/_index.md
+++ b/1.0.1/_index.md
@@ -20,14 +20,16 @@
 linkTitle: '1.0.1'
 title: 'Overview'
 type: docs
-weight: 200
+weight: 10001
 params:
   top_hidden: true
   show_page_toc: false
+  release_version: '1.0.1'
 cascade:
   type: docs
   params:
     show_page_toc: true
+    release_version: '1.0.1'
 # This file will NOT be copied into a new release's versioned docs folder.
 robots: noindex
 exclude_search: true
diff --git a/1.1.0/_index.md b/1.1.0/_index.md
index 5096096e6..526b686dc 100644
--- a/1.1.0/_index.md
+++ b/1.1.0/_index.md
@@ -20,14 +20,16 @@
 linkTitle: '1.1.0'
 title: 'Overview'
 type: docs
-weight: 200
+weight: 10100
 params:
   top_hidden: true
   show_page_toc: false
+  release_version: '1.1.0'
 cascade:
   type: docs
   params:
     show_page_toc: true
+    release_version: '1.1.0'
 # This file will NOT be copied into a new release's versioned docs folder.
 robots: noindex
 exclude_search: true
diff --git a/1.2.0/_index.md b/1.2.0/_index.md
index e2bf918d7..2b09de829 100644
--- a/1.2.0/_index.md
+++ b/1.2.0/_index.md
@@ -20,14 +20,16 @@
 linkTitle: '1.2.0'
 title: 'Overview'
 type: docs
-weight: 200
+weight: 10200
 params:
   top_hidden: true
   show_page_toc: false
+  release_version: '1.2.0'
 cascade:
   type: docs
   params:
     show_page_toc: true
+    release_version: '1.2.0'
 # This file will NOT be copied into a new release's versioned docs folder.
 robots: noindex
 exclude_search: true
diff --git a/1.3.0/_index.md b/1.3.0/_index.md
index dc45553e6..2ffdd1749 100644
--- a/1.3.0/_index.md
+++ b/1.3.0/_index.md
@@ -20,14 +20,16 @@
 linkTitle: '1.3.0'
 title: 'Overview'
 type: docs
-weight: 200
+weight: 10300
 params:
   top_hidden: true
   show_page_toc: false
+  release_version: '1.3.0'
 cascade:
   type: docs
   params:
     show_page_toc: true
+    release_version: '1.3.0'
 # This file will NOT be copied into a new release's versioned docs folder.
 ---
 
diff --git a/0.9.0/_index.md b/_index.md
similarity index 66%
copy from 0.9.0/_index.md
copy to _index.md
index e86afd503..dc95d2f6f 100644
--- a/0.9.0/_index.md
+++ b/_index.md
@@ -17,24 +17,14 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-linkTitle: '0.9.0'
-title: '0.9.0'
-type: docs
-weight: 200
-params:
-  top_hidden: true
-  show_page_toc: false
-cascade:
-  type: docs
-  params:
-    show_page_toc: true
-# This file will NOT be copied into a new release's versioned docs folder.
-robots: noindex
+# This is the root page for all versioned documentation.
+# It is used by the sidebar-docs-tree.html partial to find all release 
versions.
+title: 'Releases'
+# Mark this as the root for all releases - used by releasePages.html partial
+all_releases_root: true
+# Hide this page from navigation
+toc_hide: true
+hide_summary: true
 exclude_search: true
 ---
 
-Check out the [Quick Start]({{% ref "quickstart" %}}) page to get started.
-
-<!--
-Testing the `releaseVersion` shortcode here: version is: {{< releaseVersion >}}
--->
diff --git a/0.9.0/_index.md b/latest/index.md
similarity index 65%
copy from 0.9.0/_index.md
copy to latest/index.md
index e86afd503..fd13f8655 100644
--- a/0.9.0/_index.md
+++ b/latest/index.md
@@ -17,24 +17,10 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-linkTitle: '0.9.0'
-title: '0.9.0'
-type: docs
-weight: 200
+# This file creates the /releases/latest/ redirect to the current latest 
stable release.
+# Update the 'redirect_to' parameter below when publishing a new release.
+title: 'Latest Release'
+layout: 'redirect'
 params:
-  top_hidden: true
-  show_page_toc: false
-cascade:
-  type: docs
-  params:
-    show_page_toc: true
-# This file will NOT be copied into a new release's versioned docs folder.
-robots: noindex
-exclude_search: true
+  redirect_to: '/releases/1.3.0/'
 ---
-
-Check out the [Quick Start]({{% ref "quickstart" %}}) page to get started.
-
-<!--
-Testing the `releaseVersion` shortcode here: version is: {{< releaseVersion >}}
--->

Reply via email to