1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Ole Streicher <olebole@debian.org>
Date: Fri, 28 Dec 2018 19:50:54 +0100
Subject: Use the packaged MathJax
---
sphinx_astropy/conf/v1.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sphinx_astropy/conf/v1.py b/sphinx_astropy/conf/v1.py
index b430897..fc98db8 100644
--- a/sphinx_astropy/conf/v1.py
+++ b/sphinx_astropy/conf/v1.py
@@ -216,6 +216,8 @@ extensions = ['sphinx_astropy.ext.intersphinx_toggle',
'sphinx.ext.mathjax',
'pytest_doctestplus.sphinx.doctestplus']
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
try:
import matplotlib.sphinxext.plot_directive
extensions += [matplotlib.sphinxext.plot_directive.__name__]
|