You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by cz...@apache.org on 2023/03/17 10:47:04 UTC

[incubator-paimon] branch master updated: [docs] Add master version to docs version menu

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

czweng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a829b1a [docs] Add master version to docs version menu
1a829b1a is described below

commit 1a829b1ab396e8453488acad46a7c1b6fa41fb1b
Author: tsreaper <ts...@gmail.com>
AuthorDate: Fri Mar 17 18:46:48 2023 +0800

    [docs] Add master version to docs version menu
---
 docs/config.toml                                  | 1 +
 docs/layouts/partials/docs/inject/menu-after.html | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/config.toml b/docs/config.toml
index 07f2652a..3b46c4eb 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -61,6 +61,7 @@ pygmentsUseClasses = true
   ]
 
   PreviousDocs = [
+    ["master", "https://paimon.apache.org/docs/master"],
     ["latest", "https://paimon.apache.org/docs/latest"],
     ["0.3", "https://paimon.apache.org/docs/0.3"],
   ]
diff --git a/docs/layouts/partials/docs/inject/menu-after.html b/docs/layouts/partials/docs/inject/menu-after.html
index 5b0bc99f..1e801594 100644
--- a/docs/layouts/partials/docs/inject/menu-after.html
+++ b/docs/layouts/partials/docs/inject/menu-after.html
@@ -38,7 +38,7 @@ under the License.
       {{ .Site.Params.VersionTitle }} (✓)
     </a>
     <hr class="menu-break">
-    {{ range $docs := first 2 .Site.Params.PreviousDocs }}
+    {{ range $docs := first 5 .Site.Params.PreviousDocs }}
       <li>
         <a href="{{ index $docs 1 }}">
           {{ index $docs 0}}