File: 0001-Use-local-copy-of-MathJax.patch

package info (click to toggle)
dioptas 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 163,396 kB
  • sloc: python: 28,770; makefile: 24; xml: 9; sh: 3
file content (23 lines) | stat: -rw-r--r-- 553 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
20
21
22
23
From: Roland Mas <lolando@debian.org>
Date: Mon, 27 Sep 2021 21:51:27 +0200
Subject: Use local copy of MathJax

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

diff --git a/docs/source/conf.py b/docs/source/conf.py
index a076bbd..8e9fea3 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -172,5 +172,8 @@ texinfo_documents = [
      'Miscellaneous'),
 ]
 
-
-
+mathjax_path = 'mathjax/MathJax.js'
+mathjax2_config = {
+    'extensions': ['tex2jax.js'],
+    'jax': ['input/TeX', 'output/HTML-CSS'],
+}