From de4306d5bc2dcf7ee772b3d1ca6cd9133c5f7e1f Mon Sep 17 00:00:00 2001 From: liuboaibc Date: Thu, 29 Apr 2021 10:12:12 +0800 Subject: [PATCH] add 3.1 docs link Signed-off-by: liuboaibc --- config/_default/config.toml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index 186ce15cf..deaf3a2ff 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -103,27 +103,33 @@ hasChildren = true [[languages.en.menu.main]] parent = "Documentation" - name = "v3.0.0 star" + name = "v3.1.0 star" URL = "docs/" weight = 1 + [[languages.en.menu.main]] + parent = "Documentation" + name = "v3.0.0" + URL = "https://v3-0.docs.kubesphere.io/docs" + weight = 2 + [[languages.en.menu.main]] parent = "Documentation" name = "v2.1.x" URL = "https://v2-1.docs.kubesphere.io/docs" - weight = 2 + weight = 3 [[languages.en.menu.main]] parent = "Documentation" name = "v2.0.x" URL = "https://v2-0.docs.kubesphere.io/docs/" - weight = 3 + weight = 4 [[languages.en.menu.main]] parent = "Documentation" name = "v1.0.0" URL = "https://v1-0.docs.kubesphere.io/docs/" - weight = 4 + weight = 5 [[languages.en.menu.main]] weight = 5 @@ -229,27 +235,33 @@ hasChildren = true name = "文档中心" [[languages.zh.menu.main]] parent = "文档中心" - name = "v3.0.0 star" + name = "v3.1.0 star" URL = "docs/" weight = 1 + [[languages.zh.menu.main]] + parent = "文档中心" + name = "v3.0.0" + URL = "https://v3-0.docs.kubesphere.io/zh/docs/" + weight = 2 + [[languages.zh.menu.main]] parent = "文档中心" name = "v2.1.x" URL = "https://v2-1.docs.kubesphere.io/docs/zh-CN/" - weight = 2 + weight = 3 [[languages.zh.menu.main]] parent = "文档中心" name = "v2.0.x" URL = "https://v2-0.docs.kubesphere.io/docs/zh-CN/" - weight = 3 + weight = 4 [[languages.zh.menu.main]] parent = "文档中心" name = "v1.0.0" URL = "https://v1-0.docs.kubesphere.io/docs/zh-CN/" - weight = 4 + weight = 5 [[languages.zh.menu.main]] weight = 5