[python-dtcwt] 488/497: add patch to use Debian's system mathjax instead of CDN

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.

commit b5bfe2883810130d333427560f59d1df991d55de
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jul 21 18:15:53 2015 +0100

    add patch to use Debian's system mathjax instead of CDN
---
 debian/patches/series                   |  1 +
 debian/patches/use-system-mathjax.patch | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e283f80
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-system-mathjax.patch
diff --git a/debian/patches/use-system-mathjax.patch b/debian/patches/use-system-mathjax.patch
new file mode 100644
index 0000000..61543cd
--- /dev/null
+++ b/debian/patches/use-system-mathjax.patch
@@ -0,0 +1,12 @@
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -185,6 +185,9 @@
+ if os.environ.get('READTHEDOCS', None) == 'True':
+     mathjax_path = 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+ 
++# Override required in order to use Debian's system mathjax
++mathjax_path = 'MathJax.js'
++
+ # -- Options for LaTeX output --------------------------------------------------
+ 
+ latex_elements = {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list