Package: julia / 0.4.7-6

use-packaged-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
Description: Use packaged mathjax instead of the online version
 This patch can probably be dropped when #739300 is fixed.
 Note that this patch goes in tandem with several commands in d/rules, and with
 d/julia-doc.links
Author: S├ębastien Villemot <sebastien@debian.org>
Forwarded: not-needed
Last-Update: 2014-09-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -134,7 +134,9 @@
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = []
+html_static_path = ['_static']
+
+mathjax_path = 'mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.