代码拉取完成,页面将自动刷新
.PHONY: clean
help:
@echo " clean remove unwanted stuff"
@echo " dev make a development package"
@echo " test run the tests"
@echo " publish-test package and upload a release to test.pypi.org"
@echo " publish-release package and upload a release to pypi.org"
@echo " html use the sphinx-build based on reST build HTML file"
@echo " gettext make gettext"
@echo " cn sphinx-intl update pot for zh_CN"
@echo " html-cn generate the zh_CN translation document"
@echo " pipe make html with en and cn, then clean"
clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '.DS_Store' -exec rm -f {} +
find . -name '__pycache__' -exec rm -rf {} +
find . -name '.coverage' -exec rm -rf {} +
rm -rf build dist .eggs *.egg-info +
dev:
pip install .
$(MAKE) clean
test:
python setup.py test
$(MAKE) clean
publish-test:
python setup.py publish --test
publish-release:
python setup.py publish --release
html:
cd docs && sphinx-build -E -T -b html . _build/html
gettext:
cd docs && sphinx-build -b gettext . _build/gettext
cn:
cd docs && sphinx-intl update -p _build/gettext -l zh_CN
html-cn:
cd docs && sphinx-build -E -T -D language=zh_CN -b html . _build/html_cn
pipe:
$(MAKE) html
$(MAKE) gettext
$(MAKE) cn
$(MAKE) html-cn
$(MAKE) clean
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。