File: use_packaged_mathjax.diff

package info (click to toggle)
sphinx 9.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 28,732 kB
  • sloc: python: 109,394; javascript: 37,318; perl: 449; makefile: 183; sh: 37; xml: 19; ansic: 2
file content (20 lines) | stat: -rw-r--r-- 551 bytes parent folder | download
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 8e9e524..b02aa5a 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -269,6 +269,7 @@ nitpick_ignore = {
     ('std:confval', 'globaltoc_maxdepth'),
 }
 
+mathjax_path = 'file:///usr/share/nodejs/mathjax-full/es5/tex-mml-chtml.js'
 
 # -- Extension interface -------------------------------------------------------