From: Jordi Mallach Date: Wed, 20 Dec 2023 17:34:35 +0000 (+0100) Subject: Use the packaged version of MathJax. X-Git-Tag: archive/raspbian/0.266+dfsg.1-1+rpi1~1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4ad2abe35cd1036e6a800d1d0459b7637f58ee58;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 d0227f52c..7297fd616 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']