Skip to content

Commit 246780b

Browse files
committed
always use sphinx_rtd_theme
1 parent 07eadc4 commit 246780b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,7 @@
130130

131131
# The theme to use for HTML and HTML Help pages. See the documentation for
132132
# a list of builtin themes.
133-
134-
if not on_rtd: # only import and set the theme if we're building docs locally
135-
import sphinx_rtd_theme
136-
html_theme = 'sphinx_rtd_theme'
137-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
133+
html_theme = 'sphinx_rtd_theme'
138134

139135
# otherwise, readthedocs.org uses their theme by default, so no need to specify
140136

0 commit comments

Comments
 (0)