Skip to content

Commit

Permalink
RTFD fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martinandersen committed Aug 10, 2016
1 parent 670db3b commit c012ca0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ def __getattr__(cls, name):
if not on_rtd: # only import and set the theme if we're building docs locally
html_theme = "sphinx_rtd_theme"
html_theme_path = ["_themes", ]
else:
# use MathJax on RTD
extensions.remove('sphinx.ext.pngmath')
extensions.append('sphinx.ext.mathjax')
#else:
# # use MathJax on RTD
# extensions.remove('sphinx.ext.pngmath')
# extensions.append('sphinx.ext.mathjax')

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

Expand Down

0 comments on commit c012ca0

Please sign in to comment.