Skip to content

Commit 4fbe5b9

Browse files
committed
Set html_theme in a simpler way
1 parent d72a110 commit 4fbe5b9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/conf.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,7 @@
9292

9393
# -- Options for HTML output ---------------------------------------------------
9494

95-
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
96-
97-
if not on_rtd:
98-
import sphinx_rtd_theme
99-
html_theme = 'sphinx_rtd_theme'
100-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
95+
html_theme = 'sphinx_rtd_theme'
10196

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

0 commit comments

Comments
 (0)