Commits

Chris Mutel  committed 1419b0c

Specify https path for mathjax

  • Participants
  • Parent commits 68c4d5b

Comments (0)

Files changed (1)

File docs/conf.py

 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax']
 
+# Load mathjax through https so it works on RTD/Chrome. See: # http://sphinx-doc.org/ext/math.html
+# http://docs.mathjax.org/en/latest/start.html#secure-access-to-the-cdn
+# https://github.com/rtfd/readthedocs.org/issues/283
+mathjax_path = "https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']