diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md index 6562d396de4..a4b821b80bd 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md @@ -816,6 +816,8 @@ cp -r current.json version-${publish_version}.json ] ``` +还需要修改src/pages/versions/config.json的版本信息 + **更新下载页面** 中英文文档都要更新 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.7.0.json b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.7.0.json index 89db75babb4..6de3cb2b7bb 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.7.0.json +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.7.0.json @@ -1,6 +1,6 @@ { "version.label": { - "message": "Next(1.7.0)", + "message": "1.7.0", "description": "The label for version current" }, diff --git a/src/pages/versions/config.json b/src/pages/versions/config.json index 7e9b23af27a..0219b3b8b4c 100644 --- a/src/pages/versions/config.json +++ b/src/pages/versions/config.json @@ -12,10 +12,16 @@ "source": "源代码", "release": "Release Note", "latestData": [ + { + "versionLabel": "1.7.0", + "downloadUrl": "/zh-CN/download/release-notes-1.7.0", + "docUrl": "/zh-CN/docs/latest/about/introduction", + "sourceTag":"1.7.0" + }, { "versionLabel": "1.6.0", "downloadUrl": "/zh-CN/download/release-notes-1.6.0", - "docUrl": "/zh-CN/docs/latest/about/introduction", + "docUrl": "/zh-CN/docs/1.6.0/about/introduction", "sourceTag":"1.6.0" }, { @@ -33,8 +39,8 @@ ], "nextData": [ { - "versionLabel": "Next-1.7.0(WIP)", - "docUrl": "/zh-CN/docs/1.7.0/about/introduction" + "versionLabel": "Next-1.8.0(WIP)", + "docUrl": "/zh-CN/docs/1.8.0/about/introduction" } ], "historyData": [ @@ -115,8 +121,20 @@ "release": "Release Note", "latestData": [ { - "versionLabel": "1.5.0", + "versionLabel": "1.7.0", "docUrl": "/docs/latest/about/introduction", + "downloadUrl": "/download/release-notes-1.7.0", + "sourceTag":"1.7.0" + }, + { + "versionLabel": "1.6.0", + "docUrl": "/docs/1.6.0/about/introduction", + "downloadUrl": "/download/release-notes-1.6.0", + "sourceTag":"1.6.0" + }, + { + "versionLabel": "1.5.0", + "docUrl": "/docs/1.5.0/about/introduction", "downloadUrl": "/download/release-notes-1.5.0", "sourceTag":"1.5.0" }, @@ -135,8 +153,8 @@ ], "nextData": [ { - "versionLabel": "Next-1.7.0(WIP)", - "docUrl": "/docs/1.7.0/about/introduction" + "versionLabel": "Next-1.8.0(WIP)", + "docUrl": "/docs/1.8.0/about/introduction" } ], "historyData": [