Added path for alabaster theme in doc config.

This commit is contained in:
Rebecka Gulliksson 2015-04-22 07:20:52 +02:00
parent da91d0885f
commit eeacd05858
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@
# serve to show the default.
import sys, os
import alabaster
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@ -22,6 +23,7 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage']
# Add any paths that contain templates here, relative to this directory.
@ -91,6 +93,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme_path = [alabaster.get_path()]
html_theme = 'alabaster'
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'