Skip to content

Commit b7f5fe5

Browse files
authored
Merge pull request #232 from asmacdo/fix-rtd-theme
Remove the conditionals for rtd theme
2 parents a890a1d + f21231c commit b7f5fe5

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

docs/conf.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
# All configuration values have a default; values that are commented out
1212
# serve to show the default.
1313

14-
try:
15-
import sphinx_rtd_theme
16-
except ImportError:
17-
sphinx_rtd_theme = False
18-
1914
# If extensions (or modules to document with autodoc) are in another directory,
2015
# add these directories to sys.path here. If the directory is relative to the
2116
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -94,7 +89,7 @@
9489

9590
# The theme to use for HTML and HTML Help pages. See the documentation for
9691
# a list of builtin themes.
97-
html_theme = 'sphinx_rtd_theme' if sphinx_rtd_theme else 'default'
92+
html_theme = 'default'
9893

9994
# Theme options are theme-specific and customize the look and feel of a theme
10095
# further. For a list of options available for each theme, see the
@@ -123,7 +118,7 @@
123118
# Add any paths that contain custom static files (such as style sheets) here,
124119
# relative to this directory. They are copied after the builtin static files,
125120
# so a file named "default.css" will overwrite the builtin "default.css".
126-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] if sphinx_rtd_theme else []
121+
# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] if sphinx_rtd_theme else []
127122

128123
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
129124
# using the given strftime format.

0 commit comments

Comments
 (0)