From ab0224eccc32f68d4c58d1e87ddc808211f897dd Mon Sep 17 00:00:00 2001 From: Jordi Mallach Date: Mon, 3 Jun 2024 13:21:21 +0200 Subject: [PATCH] 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 --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 0b78ef7a5..5eb7b95e4 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'] -- 2.30.2