使用Sphinx编写Web文档 - 陈照强_templates 快速实践-生成文档 推荐使用主题,Read the Docs,简洁大方 ```py conf.py import sphinx_rtd_theme #html_theme = 'alabaster' html_theme = 'sphinx_rtd_theme’ ``` 在Makefile同级目录运行 make html 生成静态web网页 make latexpdf 修改模板文件: 默认主题位置: xxx/python2.7/site-packages/sphinx/themes rtd主题位置: xxx/python2.7/ site-packages/sphinx_rtd_theme cd ~/pymolcn/source/_templates 创建layout.html 为Sphinx文档添加Google Analysis 方法一 修改模板文件: {% extends0 码力 | 17 页 | 1.69 MB | 1 年前3
共 1 条
- 1













