File: 0003-use-local-libjs-mathjax.patch

package info (click to toggle)
fontforge 1%3A20230101~dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 63,260 kB
  • sloc: ansic: 462,618; python: 6,916; cpp: 214; objc: 122; sh: 101; makefile: 55; xml: 11
file content (26 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Use packaged copy of MathJax from libjs-mathjax
 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.
Author: Anthony Fok <foka@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2020-11-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -68,6 +68,8 @@
 # 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'