Diaoul Sphinx Styles¶
This repository contains sphinx styles Diaoul uses in most of his projects. It is a derivative of Mitsuhiko’s themes for Flask and Flask related projects. To use this style in your Sphinx documentation, follow this guide:
Put this folder as _themes into your docs folder. Alternatively you can also use git submodules to check out the contents there.
Add this to your conf.py:
sys.path.append(os.path.abspath('_themes')) html_theme_path = ['_themes'] html_theme = 'diaoul'
The following theme options exist:
github_user: GitHub user or organization namegithub_repo: GitHub repository namegithub_branch: GitHub repository branchfork_me: set to 1 to use the “Fork Me” badgeflattr: set to 1 to enable Flattrflattr_href: website for Flattrflattr_thing_url: thing URL for Flattrgittip: set to 1 to enable Gittippypi_downloads: set to 1 to enable the PyPI downloads badgepypi_version: set to 1 to enable the PyPI version badgetravis: set to 1 to enable the Travis-CI build badgecoveralls: set to 1 to enable the Coveralls coverage badge