From: Jordi Mallach Date: Sun, 6 Apr 2025 14:23:13 +0000 (+0200) Subject: Use the packaged version of MathJax. X-Git-Tag: archive/raspbian/0.276+dfsg.1-1+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cc34c5f378dc62c5c853c4436069b9463e34f8b1;p=mame.git Use the packaged version of MathJax. 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 --- diff --git a/docs/source/conf.py b/docs/source/conf.py index ec88e24fc..3406f46ab 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -40,7 +40,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']