Debian Codegraph @

debian/patches/mathjax-local.patch

raw
1 Description: use debian's mathjax library.
2 This prevents numerous privacy breaches when producing the locally installed
3 documentation.
4 Author: Étienne Mollier <[email protected]>
5 Forwarded: not-needed
6 Last-Update: 2026-01-06
7 ---
8 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
9 --- brian.orig/docs_sphinx/conf.py
10 +++ brian/docs_sphinx/conf.py
11 @@ -112,6 +112,8 @@
12 except ImportError:
13 pass
14
15 +mathjax_path = '/usr/share/javascript/mathjax/MathJax.js'
16 +
17 # Add any paths that contain templates here, relative to this directory.
18 templates_path = ["_templates"]
19