代码拉取完成,页面将自动刷新
.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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。