kotti文档的sphinx主题
kotti_docs_theme的Python项目详细描述
此主题基于sphinx-bootstrapby Scotch Media并修改为 Kotti和kotti附加组件的文档。
看起来怎么样?
访问Kotti Documentation查看正在运行的主题。
如何使用
从pypi安装:
pip install kotti_docs_theme
调整sphinxconf.py文件中的设置:
import kotti_docs_theme html_theme_path = [kotti_docs_theme.get_theme_dir()] html_theme = 'kotti_docs_theme' html_theme_options = { 'github_user': 'Pylons', 'github_repo': 'Kotti', 'twitter_username': 'KottiCMS', 'home_url': 'http://kotti.pylonsproject.org/', 'mailing_list_url': 'http://groups.google.com/group/kotti', 'irc_channel_url': 'irc://irc.freenode.net/#kotti', }
添加一个rtd.txt文件,其中包含在 Read The Docs:
Sphinx kotti_docs_theme repoze.sphinx.autointerface repoze.lru
变更历史
0.2
- 将所有html_theme_options键设为可选,以使主题可用 科蒂宇宙之外的医生。
0.1.1
- 使类、函数、方法和属性的定义更大。
0.1
- 初次发布。