Debian Codegraph @

debian/patches/docs_local_mathjax.patch

raw
1 Index: dolfin/doc/Doxyfile
2 ===================================================================
3 --- dolfin.orig/doc/Doxyfile 2022-02-05 01:33:39.472108831 +0100
4 +++ dolfin/doc/Doxyfile 2022-02-05 01:33:39.472108831 +0100
5 @@ -1558,7 +1558,7 @@
6 # The default value is: http://cdn.mathjax.org/mathjax/latest.
7 # This tag requires that the tag USE_MATHJAX is set to YES.
8
9 -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
10 +MATHJAX_RELPATH = file:///usr/share/javascript/mathjax/MathJax.js
11
12 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
13 # extension names that should be enabled during MathJax rendering. For example
14 Index: dolfin/doc/source/conf.py
15 ===================================================================
16 --- dolfin.orig/doc/source/conf.py 2022-02-05 01:33:39.472108831 +0100
17 +++ dolfin/doc/source/conf.py 2022-02-05 01:33:39.472108831 +0100
18 @@ -39,6 +39,8 @@
19 # Add any paths that contain templates here, relative to this directory.
20 templates_path = ['_templates']
21
22 +mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
23 +
24 # The suffix(es) of source filenames.
25 # You can specify multiple suffix as a list of string:
26 #
27 Index: dolfin/python/doc/source/conf.py
28 ===================================================================
29 --- dolfin.orig/python/doc/source/conf.py 2021-10-23 02:49:01.163567412 +0200
30 +++ dolfin/python/doc/source/conf.py 2022-02-05 01:34:37.012356512 +0100
31 @@ -45,6 +45,8 @@
32 # Add any paths that contain templates here, relative to this directory.
33 templates_path = ['_templates']
34
35 +mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
36 +
37 # The suffix(es) of source filenames.
38 # You can specify multiple suffix as a list of string:
39 #