diff options
-rw-r--r-- | doc/conf.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py index 3e43897f..9d261031 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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' |