Use the packaged MathJax
authorOle Streicher <olebole@debian.org>
Tue, 19 Dec 2017 10:34:49 +0000 (11:34 +0100)
committerOle Streicher <olebole@debian.org>
Tue, 19 Dec 2017 10:35:47 +0000 (10:35 +0000)
Gbp-Pq: Name Use-the-packaged-MathJax.patch

astropy_helpers/astropy_helpers/sphinx/conf.py

index 0e7723436f800995236fb79ef713e8334ef81827..8eb29da5884385f432a1a3fba527e1594d3c054b 100644 (file)
@@ -148,6 +148,7 @@ extensions = [
     'astropy_helpers.sphinx.ext.doctest',
     'astropy_helpers.sphinx.ext.changelog_links']
 
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 
 if not on_rtd and LooseVersion(sphinx.__version__) < LooseVersion('1.4'):
     extensions.append('sphinx.ext.pngmath')