mirror of
https://github.com/nocobase/nocobase
synced 2024-11-14 22:05:38 +00:00
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,需要删掉以下目录之后再升级
|
v0.10 进行了依赖的重大升级,如果 v0.9 升级 v0.10,需要删掉以下目录之后再升级
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 删除 .umi 相关缓存
|
# Remove .umi cache
|
||||||
yarn rimraf -rf ./**/{.umi,.umi-production}
|
yarn rimraf -rf "./**/{.umi,.umi-production}"
|
||||||
# 删除编译文件
|
# Delete compiled files
|
||||||
yarn rimraf -rf packages/*/*/{lib,esm,es,dist,node_modules}
|
yarn rimraf -rf "./packages/*/*/{lib,esm,es,dist,node_modules}"
|
||||||
# 删除全部依赖
|
# Remove dependencies
|
||||||
yarn rimraf -rf node_modules
|
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
|
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
|
```bash
|
||||||
### Remove .umi-related cache
|
# Remove .umi cache
|
||||||
yarn rimraf -rf "./**/{.umi,.umi-production}"
|
yarn rimraf -rf "./**/{.umi,.umi-production}"
|
||||||
# Delete compiled files
|
# Delete compiled files
|
||||||
yarn rimraf -rf "./packages/*/*/{lib,esm,es,dist,node_modules}"
|
yarn rimraf -rf "./packages/*/*/{lib,esm,es,dist,node_modules}"
|
||||||
|
@ -18,9 +18,9 @@ v0.10 进行了依赖的重大升级,如果 v0.9 升级 v0.10,需要删掉
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 删除 .umi 相关缓存
|
# 删除 .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
|
yarn rimraf -rf node_modules
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user