From 928807d4f19fcd78d1503feb93e4ca2f7aa79811 Mon Sep 17 00:00:00 2001 From: peacewong Date: Mon, 8 Jul 2024 12:03:26 +0800 Subject: [PATCH 1/2] update 1.7.0 to next version --- src/pages/versions/config.json | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/src/pages/versions/config.json b/src/pages/versions/config.json index 73066a889e7..7e9b23af27a 100644 --- a/src/pages/versions/config.json +++ b/src/pages/versions/config.json @@ -12,10 +12,16 @@ "source": "源代码", "release": "Release Note", "latestData": [ + { + "versionLabel": "1.6.0", + "downloadUrl": "/zh-CN/download/release-notes-1.6.0", + "docUrl": "/zh-CN/docs/latest/about/introduction", + "sourceTag":"1.6.0" + }, { "versionLabel": "1.5.0", "downloadUrl": "/zh-CN/download/release-notes-1.5.0", - "docUrl": "/zh-CN/docs/latest/about/introduction", + "docUrl": "/zh-CN/docs/1.5.0/about/introduction", "sourceTag":"1.5.0" }, { @@ -23,21 +29,21 @@ "downloadUrl": "/zh-CN/download/release-notes-1.4.0", "docUrl": "/zh-CN/docs/1.4.0/about/introduction", "sourceTag":"1.4.0" - }, - { - "versionLabel": "1.3.2", - "downloadUrl": "/zh-CN/download/release-notes-1.3.2", - "docUrl": "/zh-CN/docs/1.3.2/about/introduction", - "sourceTag":"1.3.2" } ], "nextData": [ { - "versionLabel": "Next-1.6.0(WIP)", - "docUrl": "/zh-CN/docs/1.6.0/about/introduction" + "versionLabel": "Next-1.7.0(WIP)", + "docUrl": "/zh-CN/docs/1.7.0/about/introduction" } ], "historyData": [ + { + "versionLabel": "1.3.2", + "downloadUrl": "/zh-CN/download/release-notes-1.3.2", + "docUrl": "/zh-CN/docs/1.3.2/about/introduction", + "sourceTag": "1.3.2" + }, { "versionLabel": "1.3.1", "downloadUrl": "/zh-CN/download/release-notes-1.3.1", @@ -129,8 +135,8 @@ ], "nextData": [ { - "versionLabel": "Next-1.5.0(WIP)", - "docUrl": "/docs/1.5.0/about/introduction" + "versionLabel": "Next-1.7.0(WIP)", + "docUrl": "/docs/1.7.0/about/introduction" } ], "historyData": [ From e95ab8bfdb594a8234ae47c630a0229655cfde64 Mon Sep 17 00:00:00 2001 From: peacewong Date: Mon, 8 Jul 2024 15:02:48 +0800 Subject: [PATCH 2/2] update 1.7.0 to next version --- docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 8b3a68f0390..f5c5a3086a3 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -161,8 +161,8 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula'); label: 'Doc', position: 'right', items: [ - {label: '1.6.0', to: '/docs/1.6.0/about/introduction'}, - {label: '1.5.0', to: '/docs/latest/about/introduction'}, + {label: '1.6.0', to: '/docs/latest/about/introduction'}, + {label: '1.5.0', to: '/docs/1.5.0/about/introduction'}, {label: '1.4.0', to: '/docs/1.4.0/about/introduction'}, // {label: '1.3.1', to: '/docs/1.3.1/about/introduction'}, // {label: '1.3.0', to: '/docs/1.3.0/introduction'},