File: 2002_use_system_mathjax.patch

package info (click to toggle)
python-m2r 0.3.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 344 kB
  • sloc: python: 1,409; makefile: 287; sh: 1
file content (19 lines) | stat: -rw-r--r-- 513 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
Description: Use system-shared mathjax
 Tell Sphinx to use a local mathjax,
 which then is symlinked to system-shared library.
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2019-10-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -39,6 +39,9 @@
     'm2r',
 ]
 
+# use system-shared mathjax
+mathjax_path = 'MathJax.js'
+
 suppress_warnings = ['image.nonlocal_uri']
 
 # Add any paths that contain templates here, relative to this directory.