diff options
author | Rebecka Gulliksson <rebecka.gulliksson@umu.se> | 2015-04-22 07:20:52 +0200 |
---|---|---|
committer | Rebecka Gulliksson <rebecka.gulliksson@umu.se> | 2015-04-22 07:22:25 +0200 |
commit | eeacd0585875598e15356aefde65f8c7b635e25b (patch) | |
tree | cf71893df1d346897fe83e85c124de8f35ad7f10 /doc | |
parent | da91d0885f93037f2c8815b14bbe18c52922337a (diff) | |
download | pysaml2-eeacd0585875598e15356aefde65f8c7b635e25b.tar.gz |
Added path for alabaster theme in doc config.
Diffstat (limited to 'doc')
-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' |