feat: update docs
This commit is contained in:
parent
acafe0f386
commit
5672ffc9fa
9
deploy-docs-cn.sh
Executable file
9
deploy-docs-cn.sh
Executable file
@ -0,0 +1,9 @@
|
||||
cd docs/dist/zh-CN
|
||||
echo "docs-cn.nocobase.com" >> CNAME
|
||||
echo "" >> .nojekyll
|
||||
git init
|
||||
git remote add origin git@github.com:nocobase/docs-cn.nocobase.com.git
|
||||
git branch -M main
|
||||
git add .
|
||||
git commit -m "first commit"
|
||||
git push -f origin main
|
9
deploy-docs.sh
Executable file
9
deploy-docs.sh
Executable file
@ -0,0 +1,9 @@
|
||||
cd docs/dist/en-US
|
||||
echo "docs.nocobase.com" >> CNAME
|
||||
echo "" >> .nojekyll
|
||||
git init
|
||||
git remote add origin git@github.com:nocobase/docs.nocobase.com.git
|
||||
git branch -M main
|
||||
git add .
|
||||
git commit -m "first commit"
|
||||
git push -f origin main
|
@ -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
|
||||
```
|
||||
|
||||
|
@ -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}"
|
||||
|
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user