sanstylex/sanstylex-demo#

repo size PyPI GitHub issues GitHub forks GitHub stars GitHub license contributors watcher Binder Downloads Documentation Status PyPI - Downloads

学无止境!

PyPI#

支持 PyPI:

pip install sanstylex/sanstylex-demo

使用#

配置文档环境:

pip install .[doc]

构建文档:

invoke doc

清除文档构建:

invoke doc.clean

生成文档多语言翻译文件 POT (doc/_build/gettext):

invoke doc.update

创建中文转录文件(locales/):

inv doc.update -l zh_CN

其他 Sphinx 构建方法(暂时未实现)#

cd doc
python -m sphinx -T -E -b readthedocssinglehtmllocalmedia -d _build/doctrees -D language=zh_CN . ../_readthedocs/htmlzip
python -m sphinx -T -E -b epub -d _build/doctrees -D language=zh_CN . ../_readthedocs/epub

排版尽可能遵循:中文文案排版指北

索引和表格#