Skip to content

Commit 65ea864

Browse files
committed
Fix RTD theme
1 parent 951cea9 commit 65ea864

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docs/conf.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,7 @@
6767
pygments_style = "sphinx"
6868

6969
# -- Options for HTML output ----------------------------------------------
70-
71-
if not on_rtd: # only import and set the theme if we're building docs locally
72-
import sphinx_rtd_theme
73-
74-
html_theme = "sphinx_rtd_theme"
75-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
76-
else:
77-
html_theme = "default"
70+
html_theme = "sphinx_rtd_theme"
7871

7972
# Output file base name for HTML help builder.
8073
htmlhelp_basename = "sphinxdoc"

0 commit comments

Comments
 (0)