Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,8 @@ cp -r current.json version-${publish_version}.json
]
```

还需要修改src/pages/versions/config.json的版本信息

**更新下载页面**

<font color='red'>中英文文档都要更新</font>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version.label": {
"message": "Next(1.7.0)",
"message": "1.7.0",
"description": "The label for version current"
},

Expand Down
30 changes: 24 additions & 6 deletions src/pages/versions/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand All @@ -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": [
Expand Down Expand Up @@ -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"
},
Expand All @@ -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": [
Expand Down
Loading