人类大脑项目狮身人面像主题。
hbp-sphinx-theme的Python项目详细描述
HBP Collaboratory Sphinx Theme
内容
在collaboratory上查看工作demo。
这个包提供了一个sphinx主题,用于集成到 合作。它也可以用于独立的网站。
Installation
Via package
下载包或将其添加到requirements.txt文件:
pip install hbp_sphinx_theme
在conf.py文件中:
importhbp_sphinx_themehtml_theme="hbp_sphinx_theme"html_theme_path=[hbp_sphinx_theme.get_html_theme_path()]
Via download
下载最新的release提供的hbp_sphinx_theme.zip。 到文档项目目录。
如sphinx documentation所述,在conf.py文件中:
html_theme='hbp_sphinx_theme'html_theme_path=['.']
Contributing or modifying the theme
HBP Collaboratory Sphinx主题Github项目可以包含在您的文档中 项目为git子模块。这将使您能够修改主题并查看 在浏览器中立即更改。请看一下documentation example 关于如何设置的项目。当你对这些变化感到满意之后,你就对主题进行了修改, 请提出一个请求让我们审查。