summaryrefslogtreecommitdiff
path: root/sphinx/ext/mathjax.py
diff options
context:
space:
mode:
authorWAKAYAMA Shirou <shirou.faw@gmail.com>2017-04-03 13:48:16 +0900
committerWAKAYAMA Shirou <shirou.faw@gmail.com>2017-04-03 13:48:16 +0900
commitd6dde6ac10d857e85f59b4a7c65aa215a29e79b4 (patch)
tree46a00c4ea74279b0265530ed341c51b2dce8badd /sphinx/ext/mathjax.py
parent57019c291ac96bbf1dc94a28a411bb19e8973ef3 (diff)
downloadsphinx-git-d6dde6ac10d857e85f59b4a7c65aa215a29e79b4.tar.gz
change Mathjax CDN URL.
Diffstat (limited to 'sphinx/ext/mathjax.py')
-rw-r--r--sphinx/ext/mathjax.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/mathjax.py b/sphinx/ext/mathjax.py
index 01994b4e5..d2fd9696f 100644
--- a/sphinx/ext/mathjax.py
+++ b/sphinx/ext/mathjax.py
@@ -74,7 +74,7 @@ def setup(app):
# more information for mathjax secure url is here:
# http://docs.mathjax.org/en/latest/start.html#secure-access-to-the-cdn
app.add_config_value('mathjax_path',
- 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?'
+ 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?'
'config=TeX-AMS-MML_HTMLorMML', False)
app.add_config_value('mathjax_inline', [r'\(', r'\)'], 'html')
app.add_config_value('mathjax_display', [r'\[', r'\]'], 'html')