From d6dde6ac10d857e85f59b4a7c65aa215a29e79b4 Mon Sep 17 00:00:00 2001 From: WAKAYAMA Shirou Date: Mon, 3 Apr 2017 13:48:16 +0900 Subject: [PATCH] change Mathjax CDN URL. --- sphinx/ext/mathjax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')