File: use_packaged_mathjax.diff

package info (click to toggle)
sphinx 8.2.3-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 26,708 kB
  • sloc: python: 105,856; javascript: 6,474; perl: 447; makefile: 178; sh: 37; xml: 19; ansic: 2
file content (20 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Dmitry Shachnev <mitya57@debian.org>
Date: Tue, 4 Feb 2020 00:12:18 +0300
Subject: Use packaged MathJax (for our own documentation)

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

diff --git a/doc/conf.py b/doc/conf.py
index 9cf2f9b..197f287 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -261,6 +261,7 @@ nitpick_ignore = {
     ('std:confval', 'globaltoc_maxdepth'),
 }
 
+mathjax_path = 'file:///usr/share/nodejs/mathjax-full/es5/tex-mml-chtml.js'
 
 # -- Extension interface -------------------------------------------------------