diff options
author | Michael Goerz <goerz@stanford.edu> | 2018-12-17 22:14:25 -0500 |
---|---|---|
committer | Michael Goerz <goerz@stanford.edu> | 2018-12-17 22:14:25 -0500 |
commit | 77e617e25ad097fd4e0697cb1fd7ef3774552c38 (patch) | |
tree | 4b78547b213ea264edac8ed836dbc483cf37a46c /sphinx/ext/mathjax.py | |
parent | e9c87b3d13c192a9b6a82d9ce0c6572f85e85743 (diff) | |
download | sphinx-git-77e617e25ad097fd4e0697cb1fd7ef3774552c38.tar.gz |
Use mathjax CDN "latest" URL by default
Closes #5725
Diffstat (limited to 'sphinx/ext/mathjax.py')
-rw-r--r-- | sphinx/ext/mathjax.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/mathjax.py b/sphinx/ext/mathjax.py index 21406c451..2a9f37699 100644 --- a/sphinx/ext/mathjax.py +++ b/sphinx/ext/mathjax.py @@ -98,7 +98,7 @@ def setup(app): # more information for mathjax secure url is here: # https://docs.mathjax.org/en/latest/start.html#secure-access-to-the-cdn app.add_config_value('mathjax_path', - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?' + 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?' 'config=TeX-AMS-MML_HTMLorMML', 'html') app.add_config_value('mathjax_options', {}, 'html') app.add_config_value('mathjax_inline', [r'\(', r'\)'], 'html') |