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
pydoc: don’t display raw reST in keyword help #54935
Comments
When one runs “pydoc with”, the output is a block of text marked up with reST. It would be more helpful to render it as text or HTML thanks to a minimal reST parser and transformer. In http://mail.python.org/pipermail/python-dev/2010-July/101563.html, Martin Geisler (Mercurial dev) said: “We're using light-weight ReST markup in the Mercurial help texts and We want no external dependencies for Mercurial, so I wrote a "mini ReST" So, proposed battle plan:
|
I'm not necessarily opposed to this, but an alternative is to modify pyspecific.py so that it generates text output from the ReST when it builds the pydoc topic index. |
No need for any of that -- the output you see already is the text output from Sphinx. |
Well, in that case, can we change the text style for code and related markup to be something prettier? Normal single quotes, perhaps? |
s/prettier/more readable/ |
Sure, I can do that for the next version. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: