File: 0002-Use-local-MathJax-in-documentation.patch

package info (click to toggle)
jupyter-notebook 4.2.3-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,800 kB
  • ctags: 2,454
  • sloc: python: 8,698; makefile: 240; sh: 74
file content (19 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From 7050d33a3cbfd2b3b29481921035ff20898cb8e1 Mon Sep 17 00:00:00 2001
From: Gordon Ball <gordon@chronitis.net>
Date: Thu, 27 Oct 2016 17:20:12 +0200
Subject: Use local MathJax in documentation

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

diff --git a/docs/source/conf.py b/docs/source/conf.py
index d32d0da..238a0c4 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -332,3 +332,5 @@ intersphinx_mapping = {
     'nbformat': ('http://nbformat.readthedocs.org/en/latest/', None),
     'jupyter': ('http://jupyter.readthedocs.org/en/latest/', None),
 }
+
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax/js?config=TeX-AMD-MML_HTMLorMML'