[med-svn] [snakemake] 02/09: Use libjs-mathjax in sphinx

Kevin Murray daube-guest at moszumanska.debian.org
Tue Sep 15 13:39:58 UTC 2015


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

daube-guest pushed a commit to branch master
in repository snakemake.

commit df06c0675174ac11dc1a67e0f3f65b4b6ab9ac77
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Tue Sep 15 21:31:51 2015 +1000

    Use libjs-mathjax in sphinx
---
 .../0003-Use-debian-s-mathjax-package.patch        | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0003-Use-debian-s-mathjax-package.patch b/debian/patches/0003-Use-debian-s-mathjax-package.patch
new file mode 100644
index 0000000..2f7d9cc
--- /dev/null
+++ b/debian/patches/0003-Use-debian-s-mathjax-package.patch
@@ -0,0 +1,22 @@
+From: Kevin Murray <spam at kdmurray.id.au>
+Date: Tue, 15 Sep 2015 21:31:21 +1000
+Subject: Use debian's mathjax package
+
+---
+ docs/conf.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/docs/conf.py b/docs/conf.py
+index 528b9f9..382744e 100644
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -37,6 +37,9 @@ extensions = [
+     'sphinx.ext.napoleon'
+ ]
+ 
++# Use debian copy of mathjax, to avoid a lintian error
++mathjax_path = "file:///usr/share/javascript/mathjax/MathJax.js"
++
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['_templates']
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 00b3997..e4b7845 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Use-the-inbuild-sphinx.ext.napoleon.patch
 0002-Use-local-javascript-css-as-appropriate.patch
+0003-Use-debian-s-mathjax-package.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/snakemake.git



More information about the debian-med-commit mailing list