Skip to content

Commit a2162c2

Browse files
docs: set rtd html_theme.
1 parent 7f82d57 commit a2162c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/conf.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@
348348
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
349349
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
350350

351-
if not on_rtd: # only import and set the theme if we're building docs locally
352-
import sphinx_rtd_theme
353-
html_theme = 'sphinx_rtd_theme'
354-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
351+
#if not on_rtd: # only import and set the theme if we're building docs locally
352+
import sphinx_rtd_theme
353+
html_theme = 'sphinx_rtd_theme'
354+
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
355355

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

0 commit comments

Comments
 (0)