Skip to content

Commit f928fe6

Browse files
committed
fix doc re-gen
1 parent 2a56630 commit f928fe6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/doc/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ def setup(app):
9595
# The theme to use for HTML and HTML Help pages. See the documentation for
9696
# a list of builtin themes.
9797
#
98+
try:
99+
html_theme
100+
except:
101+
html_theme = "sphinx_rtd_theme"
98102
if not os.environ.get('READTHEDOCS'):
99-
try:
100-
html_theme
101-
except:
102-
html_theme = "sphinx_rtd_theme"
103103
try:
104104
version
105105
except:

0 commit comments

Comments
 (0)