From: Anthony Fok Date: Thu, 7 Mar 2024 23:15:58 +0000 (+0200) Subject: Use packaged copy of MathJax from libjs-mathjax X-Git-Tag: archive/raspbian/1%20230101_dfsg-4+rpi1^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3eb840df17538b1d958e56366b77fa7fe6a3d99e;p=fontforge.git Use packaged copy of MathJax from libjs-mathjax Origin: vendor Forwarded: not-needed Last-Update: 2020-11-24 FontForge documentation uses sphinx.ext.mathjax which insert script links to MathJax served on remote CDNs. This patch, together with debian/fontforge-doc.links, replaces remote scripts with MathJax from the libjs-mathjax package. See https://bugs.debian.org/739300 for discussion. Fixes Lintian privacy-breach-generic warnings. Last-Update: 2020-11-24 Gbp-Pq: Name 0003-use-local-libjs-mathjax.patch --- diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index c6f1a84..370c873 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -68,6 +68,8 @@ html_extra_path = ['olddocs'] # Don't copy source rst files into the output html_copy_source = False +mathjax_path = 'mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML' + # Set the main page master_doc = 'index'