summaryrefslogtreecommitdiff
path: root/debian/patches/0002-Use-system-MathJax.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0002-Use-system-MathJax.patch')
-rw-r--r--debian/patches/0002-Use-system-MathJax.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0002-Use-system-MathJax.patch b/debian/patches/0002-Use-system-MathJax.patch
new file mode 100644
index 00000000..2985548e
--- /dev/null
+++ b/debian/patches/0002-Use-system-MathJax.patch
@@ -0,0 +1,21 @@
+From: Gard Spreemann <gspr@nonempty.org>
+Date: Wed, 25 Sep 2019 15:14:13 +0200
+Subject: Use system MathJax.
+
+---
+ src/Doxyfile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Doxyfile.in b/src/Doxyfile.in
+index 49e781b..52b8cbe 100644
+--- a/src/Doxyfile.in
++++ b/src/Doxyfile.in
+@@ -1441,7 +1441,7 @@ MATHJAX_FORMAT = HTML-CSS
+ # The default value is: http://cdn.mathjax.org/mathjax/latest.
+ # This tag requires that the tag USE_MATHJAX is set to YES.
+
+-MATHJAX_RELPATH = https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2
++MATHJAX_RELPATH = /usr/share/javascript/mathjax
+
+ # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
+ # extension names that should be enabled during MathJax rendering. For example