sphinx主题用于我的项目文档。
allanc-sphinx的Python项目详细描述
用于my projects文档的自定义狮身人面像主题。
主题
- yeen:稍微修改TriAx Corp主题。
- Defaults to blue colours and sidebar on the left.
- Field lists now use the mainlightcolor option for the background colour for headers, rather than a hardcoded blue colour.
- Optionally adds a Github “Octocat” banner to the repository (created by Tim Holman).
用法
要使用主题,请指定allanc_sphinx[yeen]作为依赖项,并在conf.py文件中:
html_theme = 'yeen'
如果要添加octocat横幅,只需定义要转到的链接-例如:
html_theme_options = {'github_url': 'https://github.com/the-allanc/allanc_sphinx'}