How do you get Python documentation in Texinfo Info format?

后端 未结 10 1262
眼角桃花
眼角桃花 2021-01-30 07:33

Since Python 2.6, it seems the documentation is in the new reStructuredText format, and it doesn\'t seem very easy to build a Texinfo Info file out of the box anymore.

I

10条回答
  •  无人共我
    2021-01-30 07:37

    Python docs are now generated using Sphynx framework. This framework does not have texinfo output format. Currently it has:

    1. HTML
    2. latex
    3. plain text

    Maybe you can get what you want using the Latex output. With the text output you will lost the cross ref.

    Personnaly I prefer using pydoc when I want textual output. With Vim I have a shorcut to call pydoc and open a window with the doc for the entity under my cursor...

提交回复
热议问题