From b6a4a8040a1e60c101e91fd70cb7d4b5ac59f2c2 Mon Sep 17 00:00:00 2001
From: zhuxiujuan28 <562873187@qq.com>
Date: Tue, 29 Aug 2023 11:12:09 +0800
Subject: [PATCH] show v3.4
Signed-off-by: zhuxiujuan28 <562873187@qq.com>
---
config/_default/config.toml | 44 +++++++++++++++++++++++--------------
data/en/footer.yaml | 8 +++----
2 files changed, 32 insertions(+), 20 deletions(-)
diff --git a/config/_default/config.toml b/config/_default/config.toml
index 0cf206c3a..69c04819d 100644
--- a/config/_default/config.toml
+++ b/config/_default/config.toml
@@ -116,45 +116,51 @@ name = "Documentation"
hasChildren = true
[[languages.en.menu.main]]
parent = "Documentation"
- name = "v3.3
"
- URL = "/docs/v3.3"
+ name = "v3.4
"
+ URL = "/docs/v3.4"
weight = 1
+ [[languages.en.menu.main]]
+ parent = "Documentation"
+ name = "v3.3"
+ URL = "/docs/v3.3"
+ weight = 2
+
[[languages.en.menu.main]]
parent = "Documentation"
name = "v3.2"
URL = "https://v3-2.docs.kubesphere.io/docs"
- weight = 2
+ weight = 3
[[languages.en.menu.main]]
parent = "Documentation"
name = "v3.1"
URL = "https://v3-1.docs.kubesphere.io/docs"
- weight = 3
+ weight = 4
[[languages.en.menu.main]]
parent = "Documentation"
name = "v3.0"
URL = "https://v3-0.docs.kubesphere.io/docs"
- weight = 4
+ weight = 5
[[languages.en.menu.main]]
parent = "Documentation"
name = "v2.1"
URL = "https://v2-1.docs.kubesphere.io/docs"
- weight = 5
+ weight = 6
[[languages.en.menu.main]]
parent = "Documentation"
name = "v2.0"
URL = "https://v2-0.docs.kubesphere.io/docs/"
- weight = 6
+ weight = 7
[[languages.en.menu.main]]
parent = "Documentation"
name = "v1.0"
URL = "https://v1-0.docs.kubesphere.io/docs/"
- weight = 7
+ weight = 8
[[languages.en.menu.main]]
weight = 5
@@ -277,45 +283,51 @@ hasChildren = true
name = "文档中心"
[[languages.zh.menu.main]]
parent = "文档中心"
- name = "v3.3
"
- URL = "/docs/v3.3"
+ name = "v3.4
"
+ URL = "/docs/v3.4"
weight = 1
+ [[languages.zh.menu.main]]
+ parent = "文档中心"
+ name = "v3.3"
+ URL = "/docs/v3.3"
+ weight = 2
+
[[languages.zh.menu.main]]
parent = "文档中心"
name = "v3.2"
URL = "https://v3-2.docs.kubesphere.io/zh/docs/"
- weight = 2
+ weight = 3
[[languages.zh.menu.main]]
parent = "文档中心"
name = "v3.1"
URL = "https://v3-1.docs.kubesphere.io/zh/docs/"
- weight = 3
+ weight = 4
[[languages.zh.menu.main]]
parent = "文档中心"
name = "v3.0"
URL = "https://v3-0.docs.kubesphere.io/zh/docs/"
- weight = 4
+ weight = 5
[[languages.zh.menu.main]]
parent = "文档中心"
name = "v2.1"
URL = "https://v2-1.docs.kubesphere.io/docs/zh-CN/"
- weight = 5
+ weight = 6
[[languages.zh.menu.main]]
parent = "文档中心"
name = "v2.0"
URL = "https://v2-0.docs.kubesphere.io/docs/zh-CN/"
- weight = 6
+ weight = 7
[[languages.zh.menu.main]]
parent = "文档中心"
name = "v1.0"
URL = "https://v1-0.docs.kubesphere.io/docs/zh-CN/"
- weight = 7
+ weight = 8
[[languages.zh.menu.main]]
weight = 5
diff --git a/data/en/footer.yaml b/data/en/footer.yaml
index 88998c4e8..a4605fa85 100644
--- a/data/en/footer.yaml
+++ b/data/en/footer.yaml
@@ -34,13 +34,13 @@ footer:
- title: KubeSphere Docs
list:
- content: Introduction
- link: '../../../docs/introduction/what-is-kubesphere/'
+ link: '../../../docs/v3.4/introduction/what-is-kubesphere/'
- content: Installation
- link: '../../../docs/quick-start/all-in-one-on-linux/'
+ link: '../../../docs/v3.4/quick-start/all-in-one-on-linux/'
- content: Tutorial
- link: '../../../docs/quick-start/create-workspace-and-project/'
+ link: '../../../docs/v3.4/quick-start/create-workspace-and-project/'
- content: API Documentation
- link: '../../../docs/reference/api-docs/'
+ link: '../../../docs/v3.4/reference/api-docs/'
- title: Community
list: