From ba4b8643b09bbb166183db0ec6189faf5b92a629 Mon Sep 17 00:00:00 2001 From: FeynmanZhou Date: Tue, 1 Sep 2020 11:09:47 +0800 Subject: [PATCH] update defaul URL for documentation (v3.0.0) Signed-off-by: FeynmanZhou --- config/_default/config.toml | 49 ++++++++++++++++++++++++++++++++++++- config/allMenu/config.toml | 26 +++++++++++++++++++- content/en/_index.md | 4 +-- 3 files changed, 75 insertions(+), 4 deletions(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index 967632881..0c70fb458 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -98,6 +98,30 @@ weight = 4 name = "Documentation" URL = "https://kubesphere.io/docs/" + [[languages.en.menu.main]] + parent = "Documentation" + name = "v3.0.0" + URL = "https://kubesphere.io/docs" + weight = 1 + + [[languages.en.menu.main]] + parent = "Documentation" + name = "v2.1.x" + URL = "https://v2-1.docs.kubesphere.io/docs" + weight = 2 + + [[languages.en.menu.main]] + parent = "Documentation" + name = "v2.0.x" + URL = "https://v2-0.docs.kubesphere.io/docs/" + weight = 3 + + [[languages.en.menu.main]] + parent = "Documentation" + name = "v1.0.0" + URL = "https://v1-0.docs.kubesphere.io/docs/" + weight = 4 + [[languages.en.menu.main]] weight = 5 hasChildren = true @@ -198,8 +222,31 @@ hasChildren = true [[languages.zh.menu.main]] weight = 4 +hasChildren = true name = "文档中心" -URL = "https://kubesphere.com.cn/docs/zh-CN/" + [[languages.zh.menu.main]] + parent = "文档中心" + name = "v3.0.0" + URL = "https://kubesphere.com.cn/docs" + weight = 1 + + [[languages.zh.menu.main]] + parent = "文档中心" + name = "v2.1.x" + URL = "https://v2-1.docs.kubesphere.io/docs/zh-CN/" + weight = 2 + + [[languages.zh.menu.main]] + parent = "文档中心" + name = "v2.0.x" + URL = "https://v2-0.docs.kubesphere.io/docs/zh-CN/" + weight = 3 + + [[languages.zh.menu.main]] + parent = "文档中心" + name = "v1.0.0" + URL = "https://v1-0.docs.kubesphere.io/docs/zh-CN/" + weight = 4 [[languages.zh.menu.main]] weight = 5 diff --git a/config/allMenu/config.toml b/config/allMenu/config.toml index 0d310c13e..ba0757cdd 100644 --- a/config/allMenu/config.toml +++ b/config/allMenu/config.toml @@ -66,6 +66,30 @@ weight = 4 name = "Documentation" URL = "https://kubesphere.io/docs/" + [[languages.en.menu.main]] + parent = "Documentation" + name = "v3.0.0" + URL = "https://kubesphere.io/docs" + weight = 1 + + [[languages.en.menu.main]] + parent = "Documentation" + name = "v2.1.x" + URL = "https://v2-1.docs.kubesphere.io/docs" + weight = 2 + + [[languages.en.menu.main]] + parent = "Documentation" + name = "v2.0.x" + URL = "https://v2-0.docs.kubesphere.io/docs/" + weight = 3 + + [[languages.en.menu.main]] + parent = "Documentation" + name = "v1.0.0" + URL = "https://v1-0.docs.kubesphere.io/docs/" + weight = 4 + [[languages.en.menu.main]] weight = 5 hasChildren = true @@ -298,4 +322,4 @@ name = "Topluluk" parent = "Topluluk" name = "Partnerler" URL = "partner" - weight = 3 \ No newline at end of file + weight = 3 diff --git a/content/en/_index.md b/content/en/_index.md index 37d0431c2..7a168f9da 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -10,9 +10,9 @@ section1: topic: The Kubernetes platform tailored for hybrid multicloud content: KubeSphere is a distributed operating system managing cloud native applications with Kubernetes as its kernel, and provides plug-and-play architecture for the seamless integration of third-party applications to boost its ecosystem. btnContent1: Install on Kubernetes - downloadLink1: "https://kubesphere.io/docs/installation/install-on-k8s/" + downloadLink1: "https://kubesphere.io/docs/quick-start/minimal-kubesphere-on-k8s/" btnContent2: Install on Linux - downloadLink2: "https://kubesphere.io/docs/installation/all-in-one/" + downloadLink2: "https://kubesphere.io/docs/quick-start/all-in-one-on-linux/" section2: title: One Platform for Full Stack Solutions