Package: mame / 0.206+dfsg.1-1

sphinx_mathjax_location.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Jordi Mallach <jordi@debian.org>
Description: Use the packaged version of MathJax.
 Avoid a privacy breach by using the packaged version of
 libjs-mathjax in the generated sphinx docs.
Forwarded: no

Index: mame/docs/source/conf.py
===================================================================
--- mame.orig/docs/source/conf.py
+++ mame/docs/source/conf.py
@@ -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']