采用 sphinx 的多语言翻译机制生成 po 翻译 po 文件
使用sphinx-autobuild做在线服务器。
!pip install sphinx-autobuild
sphinx-autobuild ./ _build/html
-
生成静态文件
# 生成静态文件 sphinx-build -b html ./doc ./docs # 禁用nojekyll touch ./docs/.nojekyll
-
打开
respository-
>Setting
, 在GitHub Pages
->Source
选项里选择master branch/docs folder