File: mathjax-local.patch

package info (click to toggle)
brian 2.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,872 kB
  • sloc: python: 51,820; cpp: 2,033; makefile: 108; sh: 72
file content (19 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: use debian's mathjax library.
 This prevents numerous privacy breaches when producing the locally installed
 documentation.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2022-06-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- brian.orig/docs_sphinx/conf.py
+++ brian/docs_sphinx/conf.py
@@ -94,6 +94,8 @@
 except ImportError:
     pass
 
+mathjax_path = '/usr/share/javascript/mathjax/MathJax.js'
+
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']