未验证 提交 6f5f407f 编写于 作者: 片刻小哥哥's avatar 片刻小哥哥 提交者: GitHub

Merge pull request #387 from jiangzhonglian/master

更新最新编译代码
......@@ -2,6 +2,7 @@
__pycache__/
*.py[cod]
*$py.class
*.vscode
# C extensions
*.so
......
......@@ -9,8 +9,6 @@ branches:
cache:
directories:
- node_modules # 依赖缓存的目录
- docs/0.19.x/node_modules # 依赖缓存的目录
- docs/0.21.3/node_modules # 依赖缓存的目录
install:
- npm install -g gitbook-cli # 安装编译工具
......
{
"search.usePCRE2": true
}
\ No newline at end of file
......@@ -23,8 +23,9 @@ for version in $versions;do
echo "python3 src/script.py ${version} book"
python3 src/script.py ${version} "book"
echo "rm -rf docs/${version}/node_modules/gitbook-plugin-tbfed-pagefooter"
rm -rf docs/${version}/node_modules/gitbook-plugin-tbfed-pagefooter
echo "cp -r node_modules docs/${version}"
rm -rf docs/${version}/node_modules
cp -r node_modules docs/${version}
echo "gitbook install docs/${version}"
gitbook install docs/${version}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册