You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NumPy removed the ?config=scipy-mathjax from their mathjax_path in numpy/numpy#24516, as Sphinx (intentionally) errored with Local asset file paths must not contain query strings. This broke MathJax rendering, as reported in numpy/numpy#24534.
Sphinx provides the mathjax2_config and mathjax3_config variables to provide configuration, but these aren't used by NumPy.
MathJax 3 moved away from the ?config= variable (reference), but NumPy/SciPy still use MathJax 2.7.1, with their versions last updated in 2017.
I'm tempted to special-case MathJax.js here to avoid the error.
Describe the bug
NumPy removed the
?config=scipy-mathjax
from theirmathjax_path
in numpy/numpy#24516, as Sphinx (intentionally) errored withLocal asset file paths must not contain query strings
. This broke MathJax rendering, as reported in numpy/numpy#24534.Sphinx provides the
mathjax2_config
andmathjax3_config
variables to provide configuration, but these aren't used by NumPy.MathJax 3 moved away from the
?config=
variable (reference), but NumPy/SciPy still use MathJax 2.7.1, with their versions last updated in 2017.I'm tempted to special-case
MathJax.js
here to avoid the error.How to Reproduce
Download and unzip https://github.com/scipy/scipy-mathjax into
_static/scipy-mathjax
.Environment Information
Sphinx extensions
Additional context
cc: @mattip -- do you know if there are any plans for NumPy/SciPy to update to MathJax 3?
A
The text was updated successfully, but these errors were encountered: