From cc34c5f378dc62c5c853c4436069b9463e34f8b1 Mon Sep 17 00:00:00 2001 From: Jordi Mallach Date: Sun, 6 Apr 2025 16:23:13 +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 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'] -- 2.30.2