跳转到主要内容

Sphinx主题用于Kotti文档

项目描述

此主题基于Scotch Mediasphinx-bootstrap并针对Kotti和Kotti插件进行了修改。

看起来如何?

访问Kotti文档以查看主题的实际应用。

如何使用

从PyPI安装

pip install kotti_docs_theme

调整Sphinx conf.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',
}

添加包含构建文档要求的Read The Docs的rtd.txt文件

Sphinx
kotti_docs_theme
repoze.sphinx.autointerface
repoze.lru

变更历史

0.2

  • 将所有html_theme_options键设置为可选,以便在Kotti宇宙之外的文档中使用此主题。

0.1.1

  • 将类、函数、方法和属性的说明扩展。

0.1

  • 初始版本。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

kotti_docs_theme-0.2.tar.gz (155.8 kB 查看哈希值)

上传时间: 源代码

由以下支持