-
Notifications
You must be signed in to change notification settings - Fork 7
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
NTH: docstring not converted, import statement #6
Comments
Thanks, I will greatly appreciate it! As for this specific docstring, this is because it is not RST. I spend quite some time confused here before because it looks like RST, but actually it is stripped of RST qualifiers. Compare with the cPython source: https://github.com/python/cpython/blob/master/Doc/reference/simple_stmts.rst#the-keywordimport-statement
|
It would be good to determine where (Jedi? cPython?) the conversion happens. Certainly converting it as-is (e.g. without the |
Seems like jedi just uses the output from |
And that gets auto-generated from Sphinx: https://github.com/python/cpython/blob/3.9/Lib/pydoc_data/topics.py (which strips formatting information). It is implemented here: PydocTopicsBuilder. There is a finite number of keywords so this could potentially be worked around... |
I'm going to open issues for specific items I find in my day-to-day. I'll begin the non-crucial issues with "NTH" so you know it's a "nice to have" and not a blocker. Feel free to ignore these issues, I'm just documenting what I find in case you find it helpful.
The following docstring isn't converted from rst to markdown (raises "UnknownFormatError"):
The text was updated successfully, but these errors were encountered: