1 Star 0 Fork 0

leegoobin/woo-doc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
Václav Šmilauer 提交于 2021-12-16 09:13 . fix extras doc generation
.PHONY: gen extras upload uploadpng default
gen:
rm -rf sphinx2/build/html sphinx2/build/latex sphinx2/build/doctrees sphinx2/build-extra sphinx2/source-extra
rm -f sphinx2/source/{woo,wooExtra,wooMain}.*.rst
cd sphinx2/source; PYTHONPATH=. woo -RD -x --fake-display --quirks=0 gen.py; echo $?
cd sphinx2/build/latex; lualatex -interaction=batchmode Woo.tex; makeindex Woo; lualatex -interaction=nonstopmode Woo.tex; true
# python -c 'import webbrowser; webbrowser.open("file://${PWD}/sphinx2/build/html/index.html")'
sphinxonly:
cd sphinx2/source; PYTHONPATH=. woo -x --fake-display --quirks=0 gen.py
sphinxonly-ci:
cd sphinx2/source; PYTHONPATH=. woo-ci -x --fake-display --quirks=0 gen.py
extras:
rm -rf sphinx2/build-extra sphinx2/source-extra
cd sphinx2/source; PYTHONPATH=. woo -x --fake-display -R gen.py --quirks=0 --only-extras
for ex in sphinx2/build-extra/*; do ssh woodem mkdir -p woo-private/`basename $$ex`/doc; rsync -r $$ex/html/ woodem:woo-private/`basename $$ex`/doc/; done
upload:
rsync -r sphinx2/build/html/ woodem:woo-doc/
for ex in sphinx2/build-extra/*; do ssh woodem mkdir -p woo-private/`basename $$ex`/doc; rsync -r $$ex/html/ woodem:woo-private/`basename $$ex`/doc/; done
# rsync -r sphinx2/build/latex/Woo.pdf woodem:woo-doc/Woo.pdf
uploadpng:
rsync -r sphinx2/build/html/ woodem:woo-doc-png/
for ex in sphinx2/build-extra/*; do rsync -r $$ex/html/ woodem:woo-private/`basename $$ex`/doc-png/; done
default: gen extras upload
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TeX/LaTeX
1
https://gitee.com/uesoft/woo-doc.git
git@gitee.com:uesoft/woo-doc.git
uesoft
woo-doc
woo-doc
master

搜索帮助