-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add support for the math directive #115
Comments
This is a bit mysterious to me, I agree that the description seems like valid rST. On first glance this looks like pypi/warehouse#2718, but issuing a purge for the page does not result in a rendered description. @theacodes Any ideas why this particular description might be failing? |
I'm thinking the |
Yep. It's the math directive. A warning is emitted, but I'm not sure why that's not getting to |
Okay, mystery solved. This package contains a
which squelches the error the Warehouse sees when trying to render this file:
So we either need to (1) support |
We should probably ignore the local conf either way. Whether we support math or not is another question.
…Sent from my iPhone
On Aug 1, 2018, at 4:06 PM, Thea Flowers ***@***.***> wrote:
Okay, mystery solved. This package contains a docutils.conf file that has the following:
[html4css1 writer]
math-output: mathjax
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js
which squelches the error the Warehouse sees when trying to render this file:
line : Warning: No MathJax URL specified, using local fallback (see config.html)
So we either need to (1) support math or (2) ignore local docutils.conf.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Actually, I have added the Apparently, PyPI does not use this file when rendering the documentation. I am not sure, though, how I would fix the |
Are there any updates on this issue? We also seem to have hit it. |
bin/python setup.py check -r -s
passes on RST, but page does not render on PyPI
Why not file an issue at warehouse so as to comply with the setting in the |
due to pypa/readme_renderer#115 fix(TC): replace check with code from twine check tool.
The first step to allowing math directives to be rendered on PyPI is to enable the directive's warning to pass. `docutils` tells us to pass a path to the `math_output` setting. Since we `clean` the output, we can pass anything we want, as control of the CSS will be handed on PyPI. Refs: https://docutils.sourceforge.io/docs/user/config.html#math-output This does **not** solve for Markdown math. Resolves pypa#115 Resolves pypa#172 Signed-off-by: Mike Fiedler <miketheman@gmail.com>
The first step to allowing math directives to be rendered on PyPI is to enable the directive's warning to pass. `docutils` tells us to pass a path to the `math_output` setting. Since we `clean` the output, we can pass anything we want, as control of the CSS will be handed on PyPI. Refs: https://docutils.sourceforge.io/docs/user/config.html#math-output This does **not** solve for Markdown math. Resolves #115 Resolves #172 Signed-off-by: Mike Fiedler <miketheman@gmail.com>
I am not sure if this is the right place to ask, but I haven't seen any valuable information that would solve my problem anywhere.
I have an issue with uploading a package on PyPI. Specifically, the .rst description of my project https://pypi.org/project/challenge.uccs/ does not render on the PyPI front page.
According to their recommendation: https://packaging.python.org/guides/making-a-pypi-friendly-readme/ I installed
readme_renderer
version 21.0 via pip. When I run the renderer on my local copy of the project, I get the message:So, there is no error message here, I don't see any error message when uploading to PyPI.
Since all the required information should be online (just download the package that I pointed to), maybe you can help me in assessing why the PyPI page does not render.
Thanks for your help in advance.
Manuel
The text was updated successfully, but these errors were encountered: