#G-Node Sphinx Styles
This repo is home to in-house Sphinx themes used by the German INCF Node. Their basic design is derived from Flask's documentation. If you want to use it in your projects, follow these steps:
-
Set up a git submodule in your documentation folder under '_themes' that checks out the contents of this repository, or copy the files by hand.
-
Adjust your conf.py as follows:
sys.path.append(os.path.abspath('_themes')) html_theme_path = ['_themes'] html_theme = 'gnode'
The following themes currently exist:
- gnode
- gnode_small - Smaller version of the fully-fledged theme for one-page documentation.
Following Flask's themes, a number of options exist for gnode themes:
[options]
index_logo = '' filename of a picture in _static
to be used as replacement for the
h1 in the index.rst file.
index_logo_height = 120px height of the index logo
github_fork = '' repository name on github for the
"fork me" badge
Acknowledgements: Many thanks to Armin Ronacher for publishing and open-sourcing the templates.