Debian Codegraph @

debian/patches/0002-Suppress-privacy-violations.patch

raw
1 From: Christopher Hoskin <[email protected]>
2 Date: Sat, 4 Nov 2017 09:45:16 +0000
3 Subject: Suppress privacy violations
4
5 (by default) sphinx.ext.mathjax uses mathjax online (from cdnjs) to
6 display math; imgmath generates static images.
7 ---
8 Doc/conf.py | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/Doc/conf.py b/Doc/conf.py
12 index 27466ff..e4b62cb 100644
13 --- a/Doc/conf.py
14 +++ b/Doc/conf.py
15 @@ -52,7 +52,7 @@ _raw_api.load_pycryptodome_raw_lib = lambda name, cdec: MockLib()
16 # Add any Sphinx extension module names here, as strings. They can be extensions
17 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
18 extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.napoleon',
19 - 'sphinx.ext.mathjax' ]
20 + 'sphinx.ext.imgmath' ]
21
22 # Add any paths that contain templates here, relative to this directory.
23 templates_path = ['_templates']