Only use wedc script when on RTD

pull/450/head
danroth27 2015-09-18 12:09:37 -07:00
parent a52654b7f1
commit a389f91708
1 changed files with 4 additions and 3 deletions

View File

@ -125,10 +125,11 @@ if not on_rtd:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
def setup(app):
app.add_stylesheet('custom.css')
app.add_javascript('wedc.js')
app.add_stylesheet('custom.css')
if on_rtd:
app.add_javascript('wedc.js')
#html_theme = 'default'