File: use-debian-mathjax.patch

package info (click to toggle)
python-fluids 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,108 kB
  • sloc: python: 59,520; f90: 481; lisp: 342; ansic: 337; cpp: 228; ruby: 145; haskell: 118; perl: 106; makefile: 59; javascript: 49
file content (41 lines) | stat: -rw-r--r-- 1,099 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From: Kurt Kremitzki <kkremitzki@debian.org>
Date: Sun, 10 Nov 2024 15:03:03 -0800
Subject: Use local mathjax from Debian package

Last-Update: 2021-08-25
---
 docs/conf.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 3f60fdf..d475ee3 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -42,14 +42,14 @@ extensions = [
     'sphinx.ext.autodoc',
     'sphinx.ext.doctest',
     'sphinx.ext.coverage',
-    #'sphinx.ext.mathjax',
+    'sphinx.ext.mathjax',
     'sphinx.ext.viewcode',
     'sphinx.ext.autosummary',
     'numpydoc',
     'nbsphinx',
     'matplotlib.sphinxext.plot_directive',
-    'sphinxcontrib.katex',
-    'sphinx_sitemap',
+    #'sphinxcontrib.katex',
+    #'sphinx_sitemap',
     'sphinx.ext.intersphinx',
 ]
 
@@ -336,6 +336,9 @@ from sphinx.ext.autodoc import between
 
 nbsphinx_requirejs_path = 'require.js'
 
+# Debian change, use local MathJax
+mathjax_path = 'MathJax.js'
+
 def setup(app):
     #app.add_javascript('copybutton.js')
     # Register a sphinx.ext.autodoc.between listener to ignore everything