Skip to content

Commit

Permalink
feat: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chenos committed Jun 20, 2023
1 parent acafe0f commit 5672ffc
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 8 deletions.
9 changes: 9 additions & 0 deletions deploy-docs-cn.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cd docs/dist/zh-CN
echo "docs-cn.nocobase.com" >> CNAME
echo "" >> .nojekyll
git init
git remote add origin [email protected]:nocobase/docs-cn.nocobase.com.git
git branch -M main
git add .
git commit -m "first commit"
git push -f origin main
9 changes: 9 additions & 0 deletions deploy-docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cd docs/dist/en-US
echo "docs.nocobase.com" >> CNAME
echo "" >> .nojekyll
git init
git remote add origin [email protected]:nocobase/docs.nocobase.com.git
git branch -M main
git add .
git commit -m "first commit"
git push -f origin main
10 changes: 5 additions & 5 deletions docs/en-US/welcome/getting-started/upgrading/git-clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ git pull
v0.10 进行了依赖的重大升级,如果 v0.9 升级 v0.10,需要删掉以下目录之后再升级

```bash
# 删除 .umi 相关缓存
yarn rimraf -rf ./**/{.umi,.umi-production}
# 删除编译文件
yarn rimraf -rf packages/*/*/{lib,esm,es,dist,node_modules}
# 删除全部依赖
# Remove .umi cache
yarn rimraf -rf "./**/{.umi,.umi-production}"
# Delete compiled files
yarn rimraf -rf "./packages/*/*/{lib,esm,es,dist,node_modules}"
# Remove dependencies
yarn rimraf -rf node_modules
```

Expand Down
2 changes: 1 addition & 1 deletion docs/en-US/welcome/release/v10-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ No change, upgrade reference [Upgrading for Docker compose](/welcome/getting-sta
v0.10 has a major upgrade of dependencies, so to prevent errors when upgrading the source code, you need to delete the following directories before upgrading

```bash
### Remove .umi-related cache
# Remove .umi cache
yarn rimraf -rf "./**/{.umi,.umi-production}"
# Delete compiled files
yarn rimraf -rf "./packages/*/*/{lib,esm,es,dist,node_modules}"
Expand Down
4 changes: 2 additions & 2 deletions docs/zh-CN/welcome/getting-started/upgrading/git-clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ v0.10 进行了依赖的重大升级,如果 v0.9 升级 v0.10,需要删掉

```bash
# 删除 .umi 相关缓存
yarn rimraf -rf ./**/{.umi,.umi-production}
yarn rimraf -rf "./**/{.umi,.umi-production}"
# 删除编译文件
yarn rimraf -rf packages/*/*/{lib,esm,es,dist,node_modules}
yarn rimraf -rf "./packages/*/*/{lib,esm,es,dist,node_modules}"
# 删除全部依赖
yarn rimraf -rf node_modules
```
Expand Down

0 comments on commit 5672ffc

Please sign in to comment.