Use the packaged version of MathJax.
authorJordi Mallach <jordi@debian.org>
Thu, 14 Feb 2019 09:22:17 +0000 (10:22 +0100)
committerJordi Mallach <jordi@debian.org>
Thu, 14 Feb 2019 09:22:17 +0000 (10:22 +0100)
Forwarded: no

Avoid a privacy breach by using the packaged version of
libjs-mathjax in the generated sphinx docs.

Gbp-Pq: Name sphinx_mathjax_location.patch

docs/source/conf.py

index 0272749c9b314393b912cd9ebd8c9062e136b060..a8d1faa53f54253da0ef552e84be4cf315f11888 100644 (file)
@@ -38,7 +38,7 @@ edit_on_github_project = 'mamedev/mame'
 edit_on_github_branch = 'master/docs/source'
 
 # Math
-mathjax_path = "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+mathjax_path = "file:///usr/share/javascript/mathjax/config/TeX-AMS-MML_HTMLorMML.js"
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']