Package: pycuda / 2016.1.2+git20161024-1

mathjax.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Use Debian MathJax package for documentation
 Documentation tries to download MathJax from the network. This might be
 a privacy breach and makes it hard to use documentation in offline mode.
 This patch forces Sphinx to use MathJax from (other) package.
Forwarded: not-needed
Author: Tomasz Rybak <tomasz.rybak@post.pl>
Last-Update: 2016-08-11
Index: pycuda-2016.1.2+git20160809/doc/source/conf.py
===================================================================
--- pycuda-2016.1.2+git20160809.orig/doc/source/conf.py
+++ pycuda-2016.1.2+git20160809/doc/source/conf.py
@@ -190,3 +190,5 @@ intersphinx_mapping = {
         'http://docs.scipy.org/doc/numpy/': None,
         'https://documen.tician.de/codepy/': None,
         }
+
+mathjax_path = "file:///usr/share/javascript/mathjax/mathjax/MathJax.js"