We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Recent versions of Sphinx unconditionally include MathJax.js in HTML files, even if sphinx.ext.mathjax is not enabled in conf.py:
MathJax.js
sphinx.ext.mathjax
conf.py
<script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
This can be an issue for projects that do not use maths and do not need a math renderer.
Even with html_math_renderer = None or html_math_renderer = 'imgmath' in conf.py, MathJax.js is still there.
html_math_renderer = None
html_math_renderer = 'imgmath'
Is there a way to disable loading MathJax.js?
Thanks. :)
sphinx-quickstart
no
make html
grep -i mathjax _build/html/index.html
The text was updated successfully, but these errors were encountered:
This is already fixed in #5536.
Sorry, something went wrong.
Great, thanks!
No branches or pull requests
Problem
Recent versions of Sphinx unconditionally include
MathJax.js
in HTML files, even ifsphinx.ext.mathjax
is not enabled inconf.py
:This can be an issue for projects that do not use maths and do not need a math renderer.
Even with
html_math_renderer = None
orhtml_math_renderer = 'imgmath'
inconf.py
,MathJax.js
is still there.Is there a way to disable loading
MathJax.js
?Thanks. :)
Procedure to reproduce the problem
sphinx-quickstart
.no
when asked if you want to enable MathJax.make html
grep -i mathjax _build/html/index.html
Environment info
The text was updated successfully, but these errors were encountered: