1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Stuart Prescott <stuart@debian.org>
Date: Wed, 5 Feb 2025 15:10:41 +1100
Subject: Switch to local mathjax for documentation
---
docs/sphinx-docs/source/conf.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/docs/sphinx-docs/source/conf.py b/docs/sphinx-docs/source/conf.py
index 05c193e..8030153 100644
--- a/docs/sphinx-docs/source/conf.py
+++ b/docs/sphinx-docs/source/conf.py
@@ -44,9 +44,7 @@ no_highlight = os.environ.get('SAS_NO_HIGHLIGHT', '0') # Check if sphinx highlig
if no_highlight == '1':
extensions.append('sphinx.ext.viewcode')
-mathjax_path = (
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?'
- 'config=TeX-MML-AM_CHTML')
+mathjax_path = 'mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
# For katex uncomment the following
"""
|