File: using-local-mathjax.js.patch

package info (click to toggle)
python-networkx 1.11-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,864 kB
  • ctags: 4,810
  • sloc: python: 59,461; makefile: 160
file content (26 lines) | stat: -rw-r--r-- 838 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
20
21
22
23
24
25
26
From dab8178345ed3c93414f040ad1d51c9f3bc4790a Mon Sep 17 00:00:00 2001
From: Thomas Goirand <zigo@debian.org>
Date: Thu, 8 Oct 2015 12:35:00 -0700
Subject: Using local MathJax.js script

 This avoids a privacy breach.
Forwarded: no
Last-Update: 2014-06-23

Patch-Name: using-local-mathjax.js.patch
---
 doc/source/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 35a1980..f934195 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -225,6 +225,6 @@ intersphinx_mapping = {'http://docs.python.org/': '../../debian/python.org_objec
 
 default_role = 'math'
 trac_url = 'https://networkx.lanl.gov/trac/'
-mathjax_path = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML'
+mathjax_path = 'MathJax.js'
 
 numpydoc_show_class_members = False