1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Sven Eckelmann <sven@narfation.org>
Date: Sat, 6 Jun 2020 22:20:14 +0200
Subject: Use local version of MathJax.js
Fetching resources from an external website is a potential privacy breach.
The external MathJax library should be replaced with the one from the
libjs-mathjax.
Forwarded: not-needed
---
doc/source/conf.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8c27b1f..9b5390b 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -33,6 +33,8 @@ extensions = [
'sphinx.ext.mathjax',
]
+mathjax_path = 'mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
|