File: Use-the-packaged-MathJax.patch

package info (click to toggle)
python-asdf 2.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,248 kB
  • sloc: python: 13,104; makefile: 125
file content (18 lines) | stat: -rw-r--r-- 621 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Ole Streicher <olebole@debian.org>
Date: Fri, 27 Oct 2017 10:28:23 -0300
Subject: Use the packaged MathJax

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

diff --git a/docs/conf.py b/docs/conf.py
index 4b17159..1f193d2 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -150,3 +150,5 @@ man_pages = [('index', project.lower(), project + u' Documentation',
 sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname('__file__')),
                                 'sphinxext'))
 extensions += ['example']
+
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'