Plone文档项目的Sphinx主题集合
项目描述
sphinx.themes.plone是Sphinx主题的集合,用于Plone文档项目。
不同的主题在docs.plone.org上被使用,但并不限于这个目的。它可以用于所有Plone包文档,或者甚至是私人用例,但那时将没有Plone标志和页脚(尊重许可)。
特性
sphinxtheme.plone自带以下主题:
Plone经典(Plone 2.0-3.3设计)
Plone Sunburst(Plone 4设计)
Plone Barceloneta(Plone 5设计)
Plone Org 4(Plone 4生成)
Plone Org 5(Plone 5生成)
安装
buildout
使用buildout安装sphinxtheme.plone
[buildout] parts= sphinx [sphinx] recipe=zc.recipe.egg eggs= Sphinx sphinxtheme.plone
pip安装
使用pip安装sphinxtheme.plone
pip install Sphinx sphinxtheme.plone
或者添加到requirements.txt文件中并运行
pip install -r requirements.txt
配置
编辑“conf.py”配置文件以指向plone主题
# At the top. import sphinxtheme.plone # ... # Activate the theme path: html_theme_path = sphinxtheme.plone.get_html_theme_path() # Activate the theme like this: html_theme = 'plone_org_4'
主题的附加开关,请参阅详细文档。对于当前的docs.plone.org,始终设置以下内容(应在相关papyrus分支的conf.py中完成)
always_show_version_switcher = True always_show_language_switcher = True selected_version = 下拉菜单中预先选定的docs版本,因此为5、4或3
可用主题
plone_classic
plone_org_4
plone_org_5(待定:待完成)
plone_sunburst(待定:待完成)
plone_barceloneta(待定:待实现)
贡献
许可证
本项目的技术部分遵循GPLv2许可证。
本包中的文本和插图由Plone基金会根据Creative Commons Attribution 4.0国际许可证授权。
Plone和Plone ®标志是Plone基金会的注册商标,在美国和其他国家注册。
有关Plone商标的许可使用指南,请参阅https://plone.org/foundation/logo
所有其他商标归其各自所有者所有。
项目详情
sphinxtheme.plone-0.5.8.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 9a88fc91b9012b67f0cf27f3052c64811a7b2ba98ac29772812ca9730506f14a |
|
MD5 | 087c37a697ebff9cd0bd5d9ec14aa35d |
|
BLAKE2b-256 | 14c2a324955c11708d1c8761baf9b549ac0ef7f0448c24eae73670bd0f5c2395 |