Skip to content

Commit

Permalink
docs: remove out of date hacks for readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
rjw57 committed Apr 11, 2016
1 parent d77ab1d commit b08b519
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
9 changes: 1 addition & 8 deletions docs/conf.py
Expand Up @@ -109,9 +109,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'alabaster'
if os.environ.get('READTHEDOCS', None) == 'True':
html_theme = 'default'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down Expand Up @@ -186,11 +184,6 @@
# Output file base name for HTML help builder.
htmlhelp_basename = 'dtcwtdoc'

# On read the docs we need to use a different CDN URL for MathJax which loads
# over HTTPS.
if os.environ.get('READTHEDOCS', None) == 'True':
mathjax_path = 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'

# -- Options for LaTeX output --------------------------------------------------

latex_elements = {
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
@@ -1,3 +1,3 @@
ipython
matplotlib

sphinx-rtd-theme
1 change: 1 addition & 0 deletions tests/docs-requirements.txt
Expand Up @@ -3,3 +3,4 @@ docutils
ipython
matplotlib
sphinx
sphinx-rtd-theme

0 comments on commit b08b519

Please sign in to comment.