Skip to content

Commit

Permalink
fix version script (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
baicie authored Aug 16, 2024
1 parent 0f1cc50 commit e7a696f
Show file tree
Hide file tree
Showing 10 changed files with 383 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
registry=https://registry.npmjs.org/
registry=https://registry.npmmirror.com/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,5 @@ Located in `src/pages/versions`

### 3.9 add a new version for documents

- 1、Run `npm run docusaurus docs:version replace_by_target_version` locally to copy a document.
- 1、Run `npm run version replace_by_target_version` locally to copy a document.
- 2、Modify `/src/pages/version/config.json` for the latest and history versions.
2 changes: 1 addition & 1 deletion README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,5 @@ css等样式文件放在`src/css`目录下

### 3.9 为文档添加新版本

- 1、在本地运行 npm run version replace_by_target_version 以复制文档。
- 1、在本地运行 `npm run version replace_by_target_version` 以复制文档。
- 2、修改 `/src/pages/version/config.json` 中的最新的版本以及历史版本。
Loading

0 comments on commit e7a696f

Please sign in to comment.