Skip to content

Commit 5672ffc

Browse files
committed
feat: update docs
1 parent acafe0f commit 5672ffc

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

deploy-docs-cn.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
cd docs/dist/zh-CN
2+
echo "docs-cn.nocobase.com" >> CNAME
3+
echo "" >> .nojekyll
4+
git init
5+
git remote add origin [email protected]:nocobase/docs-cn.nocobase.com.git
6+
git branch -M main
7+
git add .
8+
git commit -m "first commit"
9+
git push -f origin main

deploy-docs.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
cd docs/dist/en-US
2+
echo "docs.nocobase.com" >> CNAME
3+
echo "" >> .nojekyll
4+
git init
5+
git remote add origin [email protected]:nocobase/docs.nocobase.com.git
6+
git branch -M main
7+
git add .
8+
git commit -m "first commit"
9+
git push -f origin main

docs/en-US/welcome/getting-started/upgrading/git-clone.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ git pull
1717
v0.10 进行了依赖的重大升级,如果 v0.9 升级 v0.10,需要删掉以下目录之后再升级
1818

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

docs/en-US/welcome/release/v10-changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ No change, upgrade reference [Upgrading for Docker compose](/welcome/getting-sta
4444
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
4545

4646
```bash
47-
### Remove .umi-related cache
47+
# Remove .umi cache
4848
yarn rimraf -rf "./**/{.umi,.umi-production}"
4949
# Delete compiled files
5050
yarn rimraf -rf "./packages/*/*/{lib,esm,es,dist,node_modules}"

docs/zh-CN/welcome/getting-started/upgrading/git-clone.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ v0.10 进行了依赖的重大升级,如果 v0.9 升级 v0.10,需要删掉
1818

1919
```bash
2020
# 删除 .umi 相关缓存
21-
yarn rimraf -rf ./**/{.umi,.umi-production}
21+
yarn rimraf -rf "./**/{.umi,.umi-production}"
2222
# 删除编译文件
23-
yarn rimraf -rf packages/*/*/{lib,esm,es,dist,node_modules}
23+
yarn rimraf -rf "./packages/*/*/{lib,esm,es,dist,node_modules}"
2424
# 删除全部依赖
2525
yarn rimraf -rf node_modules
2626
```

0 commit comments

Comments
 (0)