Package: python-scipy / 0.18.1-2

use_local_mathjax.patch Patch series | download
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
From 79f62c2287b92c586a6d422c1130f3d8d57af911 Mon Sep 17 00:00:00 2001
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Mon, 12 Oct 2015 15:17:20 -0700
Subject: use_local_mathjax

Setting mathjax_path variable to use the local mathjax javascript library
Patch-Name: use_local_mathjax.patch
---
 doc/source/conf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 05e710f..ed32f37 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -141,7 +141,8 @@ html_file_suffix = '.html'
 
 htmlhelp_basename = 'scipy'
 
-mathjax_path = "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+#mathjax_path='/usr/share/javascript/mathjax/MathJax.js'
+mathjax_path='MathJax.js'
 
 
 # -----------------------------------------------------------------------------