Skip to content

Commit 456d168

Browse files
committed
Switch docs to RTD theme
1 parent 3e7479f commit 456d168

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/conf.py

Lines changed: 3 additions & 2 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 sphinx_rtd_theme as theme
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
@@ -91,15 +92,15 @@
9192

9293
# The theme to use for HTML and HTML Help pages. See the documentation for
9394
# a list of builtin themes.
94-
html_theme = 'default'
95+
html_theme = 'sphinx_rtd_theme'
9596

9697
# Theme options are theme-specific and customize the look and feel of a theme
9798
# further. For a list of options available for each theme, see the
9899
# documentation.
99100
#html_theme_options = {}
100101

101102
# Add any paths that contain custom themes here, relative to this directory.
102-
#html_theme_path = []
103+
html_theme_path = [theme.get_html_theme_path()]
103104

104105
# The name for this set of Sphinx documents. If None, it defaults to
105106
# "<project> v<release> documentation".

0 commit comments

Comments
 (0)