更新最新的统计

This commit is contained in:
jiangzhonglian
2020-05-18 22:30:33 +08:00
parent 294b3c2a5d
commit d89cb4f086
5 changed files with 16 additions and 120 deletions

View File

@@ -9,39 +9,5 @@ python3 src/script.py "home" "powered"
python3 src/script.py "home" "gitalk"
gitbook build ./ _book
# versions="0.2 0.3 0.4 1.0 1.2 1.4 LatestChanges"
# for version in $versions;do
# loginfo "==========================================================="
# loginfo "开始", ${version}, "版本编译"
# echo "cp book.json docs/${version}"
# cp book.json docs/${version}
# # 替换 book.json 的编辑地址
# echo "python3 src/script.py ${version} book"
# python3 src/script.py ${version} "book"
# 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}
# echo "python3 src/script.py ${version} powered"
# python3 src/script.py ${version} "powered"
# echo "python3 src/script.py ${version} gitalk"
# python3 src/script.py ${version} "gitalk"
# echo "gitbook build docs/${version} _book/docs/${version}"
# gitbook build docs/${version} _book/docs/${version}
# # 注释多余的内容
# # echo "python3 src/script.py ${version} index"
# # python3 src/script.py ${version} "index"
# done
# # rm -rf /opt/apache-tomcat-9.0.17/webapps/test_book
# # cp -r _book /opt/apache-tomcat-9.0.17/webapps/test_book