[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Through the contributions of several people, Zack's key idea, that Idle documentation should have a single source, idle.rst, has come to fruition. So I think it time to close this. I already mentioned #25198 for improving the tkinter viewer. I also opened #25

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for reporting this. My general problem is that idlelib was only informally private until PEP434 and I only started adding 'private' and 'deprecated' to the code a week ago. So I am trying to make changes in existing versions while not breaking even

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 26e819909891 by Terry Jan Reedy in branch '2.7': Issue #16893: Move idlelib.EditorWindow.HelpDialog deprecation warning https://hg.python.org/cpython/rev/26e819909891 New changeset c607004a98bf by Terry Jan Reedy in branch '3.4': Issue #16893: Move

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-22 Thread Martin Panter
Martin Panter added the comment: The tests seem to have grown a new Deprecation Warning (triggered when run with python -bWall). Looks like this may be a side effect of revision 2d808b72996d. [160/392] test_idle /media/disk/home/proj/python/cpython/Lib/idlelib/EditorWindow.py:88: DeprecationWa

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: NEWS entries are done. I added a function, copy_strip, to help.py to rstrip (in bytes mode) idle.html as it copies to help.html. (I changed the name to better remember which is which.) In my .bat file, with Doc as current directory, I use ..\pcbuild\python

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 855484b55da3 by Terry Jan Reedy in branch '2.7': Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html. https://hg.python.org/cpython/rev/855484b55da3 New changeset df987a0bc350 by Terry Jan Reedy in branch '3.4': Issue #16893

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset e749080fa0f9 by Terry Jan Reedy in branch '2.7': Issue #16893: finish deprecation. https://hg.python.org/cpython/rev/e749080fa0f9 New changeset ff0270e9bdfb by Terry Jan Reedy in branch '3.4': Issue #16893: finish deprecation. https://hg.python.org/

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I committed a patch that works well enough for release as it. I attached the diff for changed files in case anyone wants to view in Rietveld. Still to do for this issue: * Automate getting the 2.7 and earliest 3.x idle.html copied to idlelib and whitespace-n

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4038508240a1 by Terry Jan Reedy in branch '2.7': Issue #16893: Replace help.txt with idle.html for Idle doc display. https://hg.python.org/cpython/rev/4038508240a1 New changeset 52510bc368f8 by Terry Jan Reedy in branch '2.7': Issue #16893: include

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-10 Thread Zachary Ware
Zachary Ware added the comment: I'd be happy to work on making an 'idledoc' target for the Doc/ makefiles that works with Mark's viewer. I can't guarantee any kind of timeframe, but the idledoc target wouldn't be necessary right off the bat; it could be done after the main bulk of the patch i

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: In msg185726 Ned said "Ironically, the Tk text widget is perfectly capable of rendering richer text styles." He was and is correct. Mark Roseman offered to take up the challenge. In spite of my skepticism, he went ahead and built sphinxview around HTMLParser

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This looks more maintainable than I expected, so I will definite try it out. -- ___ Python tracker ___ _

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-08 Thread Mark Roseman
Mark Roseman added the comment: Ok. In case you're curious or might find it useful elsewhere, I've attached sphinxview.py, which renders the HTML into a text widget (with formatting, it's not converted to plain text). -- Added file: http://bugs.python.org/file40405/sphinxview.py _

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 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

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-07 Thread Mark Roseman
Mark Roseman added the comment: If it's useful, I quickly threw together a routine that takes the HTML generated by Sphinx, and using html.parser, strips out the navigation stuff, and stuffs it into a Tk text widget, doing appropriate things with the subset of the formatting it uses (lists, he

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-07 Thread Mark Roseman
Changes by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-04-19 Thread irdb
Changes by irdb : -- nosy: +irdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailma

[issue16893] Generate Idle help from Doc/library/idle.rst

2014-12-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The goal of this issue is that Idle -> Help -> IDLE Help display a good-looking, accurate help page based on Doc/library/idle.rst. The current Lib/idlelib/help.txt is neither good-looking nor accurate and must somehow be replaced, even if by temporary means,

[issue16893] Generate Idle help from Doc/library/idle.rst

2014-12-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 283c364c372a by Terry Jan Reedy in branch '2.7': Issue #16893: Update Idle doc chapter to match current Idle and add new https://hg.python.org/cpython/rev/283c364c372a New changeset 2fc341c6e314 by Terry Jan Reedy in branch '3.4': Issue #16893: Upda

[issue16893] Generate Idle help from Doc/library/idle.rst

2014-12-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6db65ff985b6 by Terry Jan Reedy in branch '3.4': Issue #16893: For Idle doc, move index entries, copy no-subprocess section https://hg.python.org/cpython/rev/6db65ff985b6 New changeset feec1ea55127 by Terry Jan Reedy in branch '2.7': Issue #16893: U

[issue16893] Generate Idle help from Doc/library/idle.rst

2014-10-19 Thread Zachary Ware
Zachary Ware added the comment: Sure; here's a patch. I suspect we may want to try giving Sphinx some different options to clean up the output a bit, but I'm not experienced enough with Sphinx to have any specific suggestions. -- Added file: http://bugs.python.org/file36975/issue16893

[issue16893] Generate Idle help from Doc/library/idle.rst

2014-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have avoided editing the Idle docs because of this issue, but idle.rst needs some corrections and updates now, and will soon need some additions. I want to only edit idle.rst. So I want to resolve this issue soon. As I mentioned before, I think the best ide