File: mathjax.patch

package info (click to toggle)
python-cobra 0.29.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,512 kB
  • sloc: python: 14,703; xml: 12,841; makefile: 137; sh: 30
file content (18 lines) | stat: -rw-r--r-- 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Use local Mathjax.js
Author: Afif Elghraoui <afif@ghraoui.name>
Forwarded: no
Last-Update: 2015-06-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- python-cobra.orig/documentation_builder/conf.py
+++ python-cobra/documentation_builder/conf.py
@@ -69,8 +69,7 @@
 # -- Options for HTML output --------------------------------------------------
 
 mathjax_path = (
-    "https://cdn.mathjax.org/mathjax/latest/"
-    "MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+    '/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 )
 
 # -- Options for LaTeX output --------------------------------------------------