From 92cf6580f8e5068c42ddd4282b6e0185e69af5f1 Mon Sep 17 00:00:00 2001 From: Ole Streicher Date: Tue, 19 Dec 2017 11:34:49 +0100 Subject: [PATCH] Use the packaged MathJax Gbp-Pq: Name Use-the-packaged-MathJax.patch --- astropy_helpers/astropy_helpers/sphinx/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/astropy_helpers/astropy_helpers/sphinx/conf.py b/astropy_helpers/astropy_helpers/sphinx/conf.py index 0e77234..8eb29da 100644 --- a/astropy_helpers/astropy_helpers/sphinx/conf.py +++ b/astropy_helpers/astropy_helpers/sphinx/conf.py @@ -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') -- 2.30.2