summaryrefslogtreecommitdiffstats
path: root/debian/patches/use_packaged_mathjax.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:25:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:25:44 +0000
commite20628db512128d3a5c66360943462b83da5f049 (patch)
treed0c586bb2b3ce26a240c5fb0765982ce87d53816 /debian/patches/use_packaged_mathjax.diff
parentAdding upstream version 7.2.6. (diff)
downloadsphinx-e20628db512128d3a5c66360943462b83da5f049.tar.xz
sphinx-e20628db512128d3a5c66360943462b83da5f049.zip
Adding debian version 7.2.6-6.debian/7.2.6-6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/use_packaged_mathjax.diff')
-rw-r--r--debian/patches/use_packaged_mathjax.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/use_packaged_mathjax.diff b/debian/patches/use_packaged_mathjax.diff
new file mode 100644
index 0000000..28405ca
--- /dev/null
+++ b/debian/patches/use_packaged_mathjax.diff
@@ -0,0 +1,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 d4915aa..416158f 100644
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -185,6 +185,7 @@ nitpick_ignore = {
+ ('std:confval', 'globaltoc_maxdepth'),
+ }
+
++mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
+ # -- Extension interface -------------------------------------------------------
+