You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ya...@apache.org on 2023/01/11 04:03:06 UTC

[kyuubi-website] branch master updated: fix quick start page (#98)

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

yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi-website.git


The following commit(s) were added to refs/heads/master by this push:
     new e010c1b  fix quick start page (#98)
e010c1b is described below

commit e010c1b56081c0cc7dde576c18577cb9d8c9a64e
Author: Kent Yao <ya...@apache.org>
AuthorDate: Wed Jan 11 12:02:59 2023 +0800

    fix quick start page (#98)
---
 config.toml        | 1 -
 layouts/index.html | 6 ++++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/config.toml b/config.toml
index 36d095c..33a7a79 100644
--- a/config.toml
+++ b/config.toml
@@ -21,7 +21,6 @@ googleAnalytics = "UA-7453027-1"
 contentDir = "src"
 publishDir = "content"
 defaultContentLanguage = 'en'
-docs_base_url = "https://kyuubi.readthedocs.io/en/"
 
 [[menu.main]]
   name = "Download"
diff --git a/layouts/index.html b/layouts/index.html
index 39455fb..836d346 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -26,8 +26,10 @@
           {{ i18n "kyuubi-introduce" }}
         </p>
         <div class="bannerBtnContainer">
-          <a class="bannerBtn" href="https://kyuubi.apache.org/docs/latest/quick_start">{{ i18n "getting-started" }} »</a>
-          <a class="bannerBtn" href="https://github.com/apache/incubator-kyuubi">GitHub »</a>
+          {{ range $release := first 1 .Site.Params.releases }}
+            <a class="bannerBtn" href="https://kyuubi.readthedocs.io/en/{{ $release }}/quick_start">{{ i18n "getting-started" }} »</a>
+          {{ end }}
+          <a class="bannerBtn" href="https://github.com/apache/kyuubi">GitHub »</a>
         </div>
       </div>
     </div>