1 Star 0 Fork 91

rex.zhou/teedoc_with_qpydoc

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
publish.sh 886 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rivern 提交于 2024-12-27 14:39 +08:00 . 修改发布脚本
# !/bin/bash
css_dest_dir="out/doc/static/css/theme_default/"
js_dest_dir="out/doc/static/js/theme_default/"
image_dest_dir="out/doc/static/image/theme_default/"
css_src_dir="static/css/theme_default/"
js_src_dir="static/js/theme_default/"
image_src_dir="static/image/theme_default/"
teedoc build
if [ ! -d ${css_src_dir} ]; then
# mkdir -p ${css_src_dir}
echo "teedoc 编译失败"
else
rsync -a ${css_src_dir}/light.css ${css_dest_dir}/light.css
rsync -a ${js_src_dir}/main.js ${js_dest_dir}/main.js
rsync -a ${image_src_dir}/indicator.svg ${image_dest_dir}/indicator.svg
rsync -a "out/doc/static/" "out/doc/en/static/"
fi
# if [ ! -d ${js_src_dir} ]; then
# cp
# fi
if [ $# == 0 ];then
echo "编译完成,输出文件目录: out/";
rsync -a "out/doc/" "/home/doc/"
echo "发布到官网完成,release目录: /home/";
else
if [ $1 = "-c" ]; then
rm -rf "/home/doc/"
fi
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhouxrmi/teedoc_with_qpydoc.git
git@gitee.com:zhouxrmi/teedoc_with_qpydoc.git
zhouxrmi
teedoc_with_qpydoc
teedoc_with_qpydoc
Wiki_gitee_check

搜索帮助