Author terry.reedy
Recipients THRlWiTi, Todd.Rovito, asvetlov, docs@python, eric.araujo, georg.brandl, markroseman, ned.deily, python-dev, roger.serwy, terry.reedy, zach.ware
Date 2015-09-08.04:16:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441685765.45.0.340670345241.issue16893@psf.upfronthosting.co.za>
In-reply-to
Content
Trying to produce .txt from .rst or .html was the original idea but the result in the upload help.txt is not terribly good. We decided that it is reasonable these days to depend on a browser being present and use the webbrowser module to display the html in a browser. Some effort has been put into getting decent looking html from rst. On windows, the .chm installed with Python can be used as a backup should the browser not work.  

The reason for not simply starting a browser on the online Idle page is that the online docs reflect the repository version of Idle, which may have features not in the released version.  So a 'frozen' doc is needed.  (Note that the .chm is already frozen.) 

The steps and issues I see.

1. Should there be a separate idlehelp target, as in Zach's v4 patch, or should copying the one file be part of building the html files.  The issue here is making sure that the idlelib/help.html is rebuilt at the time of release.  Re-generating the html files is, I presume, part of the release process, whereas a separate step would have to somehow be added.

2. We already use webbrowser to start the online docs, I believe on all systems.  The code can be reused with a different target.

3. Is an exact copy ok, or should some nagivation be removed?  We need to try the file as is and see.

4. The html file should be added to .hgignore and not checked into the repository.
History
Date User Action Args
2015-09-08 04:16:05terry.reedysetrecipients: + terry.reedy, georg.brandl, ned.deily, roger.serwy, eric.araujo, asvetlov, markroseman, THRlWiTi, docs@python, Todd.Rovito, python-dev, zach.ware
2015-09-08 04:16:05terry.reedysetmessageid: <1441685765.45.0.340670345241.issue16893@psf.upfronthosting.co.za>
2015-09-08 04:16:05terry.reedylinkissue16893 messages
2015-09-08 04:16:04terry.reedycreate