diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-05-30 07:14:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 07:14:07 +0300 |
commit | 928149b730adb226532722f350f7f9726793db34 (patch) | |
tree | 46f049282798a099731bd3d2b35cff4cefd1fb9f /sphinx | |
parent | 339e3a9f3d09acec831cb3f5e16a0ec1f70d6559 (diff) | |
parent | 1d332a2e0ad73297f86d228d5bbbe9423140b854 (diff) |
Merge pull request #7746 from rsokl/patch-1
Fix bug in mathjax: newest 2.x version not being loaded by latest.js
Diffstat (limited to 'sphinx')
-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 e13dcbeb7..cc3cd4ba3 100644 --- a/sphinx/ext/mathjax.py +++ b/sphinx/ext/mathjax.py @@ -96,7 +96,7 @@ def setup(app: Sphinx) -> Dict[str, Any]: # 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.5/latest.js?' + 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?' 'config=TeX-AMS-MML_HTMLorMML', 'html') app.add_config_value('mathjax_options', {}, 'html') app.add_config_value('mathjax_inline', [r'\(', r'\)'], 'html') |