File: mathjax.patch

package info (click to toggle)
mpmath 1.4.0~b2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,548 kB
  • sloc: python: 47,702; makefile: 22
file content (15 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Use Debian MathJax instead of CDN in docs.
Author: Doug Torrance <dtorrance@debian.org>
Forwarded: not-needed
Last-Update: 2024-03-16

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,6 +16,7 @@
 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax',
               'sphinx.ext.intersphinx', 'sphinxcontrib.autoprogram',
               'matplotlib.sphinxext.plot_directive']
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 
 # Sphinx will warn about all references where the target cannot be found.
 nitpicky = True