File: use-imgmath.patch

package info (click to toggle)
phcpack 2.4.91%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 143,724 kB
  • sloc: ada: 969,523; cpp: 214,980; ansic: 59,290; python: 52,262; makefile: 3,661; lisp: 444; javascript: 352
file content (19 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Use sphinx.ext.imgmath instead of sphinx.ext.mathjax
 Otherwise, sphinx will insert links to a CDN for MathJax, resulting in a
 privacy-breach-generic Lintian warning.
Author: Doug Torrance <dtorrance@debian.org>
Bug-Debian: https://bugs.debian.org/739300
Forwarded: not-needed
Last-Update: 2021-02-27

--- a/src/Python/PHCpy/doc/source/conf.py
+++ b/src/Python/PHCpy/doc/source/conf.py
@@ -32,7 +32,7 @@
 extensions = [
     'sphinx.ext.autodoc',
     'sphinx.ext.doctest',
-    'sphinx.ext.mathjax',
+    'sphinx.ext.imgmath',
 ]
 
 # Add any paths that contain templates here, relative to this directory.