File: docs_local_mathjax.patch

package info (click to toggle)
dolfin 2019.2.0~legacy20240219.1c52e83-21
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 32,012 kB
  • sloc: xml: 104,040; cpp: 102,227; python: 24,356; sh: 460; makefile: 330; javascript: 226
file content (39 lines) | stat: -rw-r--r-- 1,803 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Index: dolfin/doc/Doxyfile
===================================================================
--- dolfin.orig/doc/Doxyfile	2022-02-05 01:33:39.472108831 +0100
+++ dolfin/doc/Doxyfile	2022-02-05 01:33:39.472108831 +0100
@@ -1558,7 +1558,7 @@
 # The default value is: http://cdn.mathjax.org/mathjax/latest.
 # This tag requires that the tag USE_MATHJAX is set to YES.
 
-MATHJAX_RELPATH        = http://cdn.mathjax.org/mathjax/latest
+MATHJAX_RELPATH        = file:///usr/share/javascript/mathjax/MathJax.js
 
 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
 # extension names that should be enabled during MathJax rendering. For example
Index: dolfin/doc/source/conf.py
===================================================================
--- dolfin.orig/doc/source/conf.py	2022-02-05 01:33:39.472108831 +0100
+++ dolfin/doc/source/conf.py	2022-02-05 01:33:39.472108831 +0100
@@ -39,6 +39,8 @@
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
 
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # The suffix(es) of source filenames.
 # You can specify multiple suffix as a list of string:
 #
Index: dolfin/python/doc/source/conf.py
===================================================================
--- dolfin.orig/python/doc/source/conf.py	2021-10-23 02:49:01.163567412 +0200
+++ dolfin/python/doc/source/conf.py	2022-02-05 01:34:37.012356512 +0100
@@ -45,6 +45,8 @@
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
 
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # The suffix(es) of source filenames.
 # You can specify multiple suffix as a list of string:
 #