Skip to content

Commit

Permalink
fix versioned sidebar i18n does not work (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianweidut authored Dec 8, 2023
1 parent 241422d commit 73558d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ lint-docs:

versioning-docs:
yarn docusaurus docs:version ${RELEASE_VERSION}
cp i18n/zh/docusaurus-plugin-content-docs/current.json i18n/zh/docusaurus-plugin-content-docs/version-${RELEASE_VERSION}.json
4 changes: 0 additions & 4 deletions i18n/zh/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@
"sidebar.mainSidebar.category.FAQ": {
"message": "常见问题"
},
"version.label": {
"message": "WIP",
"description": "The label for version current"
},
"sidebar.mainSidebar.category.Starwhale Client(swcli) User Guide": {
"message": "Starwhale Client(swcli) 用户指南",
"description": "The label for category Starwhale Client(swcli) in sidebar mainSidebar"
Expand Down

0 comments on commit 73558d7

Please sign in to comment.