Skip to content

wdk-docs/sphinx-docs

Repository files navigation

sphinx-doc 中文翻译文档

Documentation Status

采用 sphinx 的多语言翻译机制生成 po 翻译 po 文件

live 服务

使用sphinx-autobuild做在线服务器。

!pip install sphinx-autobuild
sphinx-autobuild ./ _build/html

部署 gh-pages

  1. 生成静态文件

    # 生成静态文件
    sphinx-build -b html ./doc ./docs
    # 禁用nojekyll
    touch ./docs/.nojekyll
  2. 打开respository->Setting, 在 GitHub Pages -> Source 选项里选择 master branch/docs folder

Read the Docs

https://sphinx-doc.readthedocs.io