Closed jwodder closed 2 years ago
I don't think we've ever supported the math directive on PyPI. If this is suddenly causing failures we should remove it entirely until we're prepared to fully support it.
Fully supporting the math directive is captured in https://github.com/pypa/readme_renderer/issues/115.
Starting in Docutils 0.14, a warning is emitted if
math_output
is set to"MathJax"
without a URL to a MathJax library appended.readme_renderer
currently setsmath_output
to just"MathJax"
and also setshalt_level
to 2 (WARNING), meaning that, if an input document uses either the:math:
role ormath::
directive, a warning is emitted, and then that warning causes the rendering to fail. If your intention is to support math input, you should either append something to themath_output
setting (it doesn't matter what, as you don't use the relevent part of the rendered document) or else change the setting to something other than MathJax. (Note that Warehouse also currently doesn't seem to load any MathJax libraries; perhaps that's worth an issue over there.)