Skip to content

Commit eeacd05

Browse files
author
Rebecka Gulliksson
committed
Added path for alabaster theme in doc config.
1 parent da91d08 commit eeacd05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# serve to show the default.
1313

1414
import sys, os
15+
import alabaster
1516

1617
# If extensions (or modules to document with autodoc) are in another directory,
1718
# add these directories to sys.path here. If the directory is relative to the
@@ -22,6 +23,7 @@
2223

2324
# Add any Sphinx extension module names here, as strings. They can be extensions
2425
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
26+
2527
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage']
2628

2729
# Add any paths that contain templates here, relative to this directory.
@@ -91,6 +93,7 @@
9193

9294
# The theme to use for HTML and HTML Help pages. Major themes that come with
9395
# Sphinx are currently 'default' and 'sphinxdoc'.
96+
html_theme_path = [alabaster.get_path()]
9497
html_theme = 'alabaster'
9598
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
9699

0 commit comments

Comments
 (0)