Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in mathjax: newest 2.x version not being loaded by latest.js #7746

Merged
merged 2 commits into from May 30, 2020
Merged

Fix bug in mathjax: newest 2.x version not being loaded by latest.js #7746

merged 2 commits into from May 30, 2020

Conversation

rsokl
Copy link
Contributor

@rsokl rsokl commented May 29, 2020

Feature or Bugfix

  • Bugfix

Purpose

There is a bug in latest.js in versions 2.7.5 and below; when the current version on the CDN is 3.0 or higher, latest.js will not use the highest version of 2.x, but instead will use the version from which latest.js has been taken. As such, the sphinx-mathjax extension is stuck loading MathJax 2.7.5 from the CDN, whereas latest.js should be loading the newest 2.x version.

See the warning section on this page: http://docs.mathjax.org/en/latest/upgrading/v2.html

This PR fixes that by pointing to 2.7.7, the latest 2.X version available on the CDN.

rsokl added 2 commits May 28, 2020 22:55
There is a bug in latest.js in versions 2.7.5 and below; when the current version on the CDN is 3.0 or higher, latest.js will not use the highest version of 2.x, but instead will use the version from which latest.js has been taken. See the warning section on this page:  http://docs.mathjax.org/en/latest/upgrading/v2.html

This PR fixes that by pointing to 2.7.7, the latest version available on the CDN.
Bump hardcoded mathjax version to 2.7.7
@tk0miya tk0miya added this to the 3.1.0 milestone May 30, 2020
@tk0miya tk0miya merged commit 928149b into sphinx-doc:3.x May 30, 2020
@tk0miya
Copy link
Member

tk0miya commented May 30, 2020

Thanks!

tk0miya added a commit to tk0miya/sphinx that referenced this pull request May 30, 2020
tk0miya added a commit that referenced this pull request May 30, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants