Description: Use local MathJax rather than online version
Forwarded: not-needed
Author: Julian Gilbey <jdg@debian.org>
Last-Update: 2021-11-23

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -222,6 +222,10 @@
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'py_stringmatchingdoc'
 
+# Replace cdn.jsdelivr.net path to MathJax with a local path
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
+
 # -- Options for LaTeX output ---------------------------------------------
 
 latex_elements = {
