This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients Rostyslav.Dzinko, ned.deily
Date 2012-08-29.20:02:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346270547.7.0.941949776273.issue15808@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, IDLE does have code to look for an on-disk copy of the html-formatted Python documentation set but the paths are platform-specific and, in the Linux case, are out-of-date for some distributions at least.  For Linux platforms it looks for `index.html` in either `/var/www/html/python` or `/usr/share/doc/python-docs-x.y/Doc/`.  On current Debian systems, for example, the Python doc package is installed in `/usr/share/doc/pythonx.y-doc/html`.  If you install the doc packages and then create a link, IDLE should find the docs off-line when you select `Python Docs` from the `Help` manual.  For example, for Python 3.3 you *could* do:

    sudo aptitude install python3.3-doc
    sudo mkdir -p /var/www/html/
    sudo ln -s /usr/share/doc/python3.3-doc/html python

That said, the default locations should be updated. And perhaps a more useful customization would be to add a user configuration option for where to look for the on-disk copy of the docs rather than adding another hot key. (Also, older versions of Python are in security fix mode only.)
History
Date User Action Args
2012-08-29 20:02:27ned.deilysetrecipients: + ned.deily, Rostyslav.Dzinko
2012-08-29 20:02:27ned.deilysetmessageid: <1346270547.7.0.941949776273.issue15808@psf.upfronthosting.co.za>
2012-08-29 20:02:27ned.deilylinkissue15808 messages
2012-08-29 20:02:25ned.deilycreate