mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
26 lines
728 B
ReStructuredText
26 lines
728 B
ReStructuredText
|
krTheme Sphinx Style
|
||
|
====================
|
||
|
|
||
|
This repository contains sphinx styles Kenneth Reitz uses in most of
|
||
|
his projects. It is a drivative of Mitsuhiko's themes for Flask and Flask related
|
||
|
projects. To use this style in your Sphinx documentation, follow
|
||
|
this guide:
|
||
|
|
||
|
1. put this folder as _themes into your docs folder. Alternatively
|
||
|
you can also use git submodules to check out the contents there.
|
||
|
|
||
|
2. add this to your conf.py: ::
|
||
|
|
||
|
sys.path.append(os.path.abspath('_themes'))
|
||
|
html_theme_path = ['_themes']
|
||
|
html_theme = 'flask'
|
||
|
|
||
|
The following themes exist:
|
||
|
|
||
|
**kr**
|
||
|
the standard flask documentation theme for large projects
|
||
|
|
||
|
**kr_small**
|
||
|
small one-page theme. Intended to be used by very small addon libraries.
|
||
|
|