简体   繁体   中英

View reStructuredText (Sphinx) docstrings in iPython?

Is there a way to have IPython fully render reStructuredText (for Sphinx) docstrings when you type the following:

help foo

or:

foo?

I find it super distracting to try to read help docs in IPython when it shows the raw markup. reST is great for Sphinx documentation, but really clutters up simple help lookups. I can't be alone on this one...?

Google has been no help on this one.

I don't think it is possible in IPython, but have a look at Spyder : You can open an IPython console from within the IDE. Docstrings are rendered as HTML.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM