1 Star 0 Fork 61

kunming.wang/teedoc_with_qpydoc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
publish.sh 876 Bytes
一键复制 编辑 原始数据 按行查看 历史
supremeys 提交于 2024-03-20 10:22 . 更新publish脚本
# !/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
cp -R ${css_src_dir}/light.css ${css_dest_dir}/light.css
cp -R ${js_src_dir}/main.js ${js_dest_dir}/main.js
cp -R ${image_src_dir}/indicator.svg ${image_dest_dir}/indicator.svg
cp -R "out/doc/static/" "out/doc/en/static/"
fi
# if [ ! -d ${js_src_dir} ]; then
# cp
# fi
if [ $# == 0 ];then
echo "编译完成,输出文件目录: out/";
cp -R --force "out/doc/" "/home/"
echo "发布到官网完成,release目录: /home/";
else
if [ $1 = "-c" ]; then
rm -rf "/home/doc/"
fi
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/trickkkkkkkk/teedoc_with_qpydoc.git
git@gitee.com:trickkkkkkkk/teedoc_with_qpydoc.git
trickkkkkkkk
teedoc_with_qpydoc
teedoc_with_qpydoc
main

搜索帮助