-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Some docstrings still have poor formatting #13039
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
Comments
More:
|
That is because these are just RST code blocks not Markdown. Until we transition the manual to Markdown the rendering of these docstrings will be raw RST in the terminal. We could write a pretty printer for RST, but I think effort is better spent to complete the transition. |
That's fair, but is .4 really going to be released with the docs for functions like map and push! just printing raw RST? |
Yes, unless someone wants to write a pretty printer. Also, we use RST comments to match the signature so the pretty printer would have to be written specifically for the non-standard RST formatting we are using. |
Is there a list of the syntaxes that are barring their transition to Markdown? Is it possible to work on supporting the unsupported? We'll want to have these things anyways:
Are there other unsupported syntaxes? |
See #12573 and linked issues |
Equations and cross-references are my two big concerns. Citations are a distinct third. Scholarly Markdown is the closest attempt I've seen to address these in an extended Markdown format. |
Unless I'm doing something wrong, the following functions still have strange formatting when I view their docs (with ?) from the repl:
The text was updated successfully, but these errors were encountered: