File: Use-packaged-MathJax.patch

package info (click to toggle)
python-xarray 0.11.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,476 kB
  • sloc: python: 37,552; makefile: 231; sh: 1
file content (21 lines) | stat: -rw-r--r-- 696 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Sat, 15 Apr 2017 16:01:30 +0100
Subject: Use packaged MathJax

---
 doc/conf.py | 2 ++
 1 file changed, 2 insertions(+)

Index: python-xarray-0.10.0/doc/conf.py
===================================================================
--- python-xarray-0.10.0.orig/doc/conf.py
+++ python-xarray-0.10.0/doc/conf.py
@@ -82,6 +82,8 @@ autosummary_generate = True
 numpydoc_class_members_toctree = True
 numpydoc_show_class_members = False
 
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']