[issue25218] Automate creation of idlelib/help.html from Doc/.../idle.html

Terry J. Reedy report at bugs.python.org
Mon Sep 11 16:55:28 EDT 2017


Terry J. Reedy added the comment:

Zach, I currently build idlelib/help.html by first building a complete doc set and then copying from Doc/.../idle.html, stripping trailing whitespace on the say.  One problem is that the result has a lot of extraneous stuff aside from the doc text itself: the code for the header, sidebar, and footer. These are a nuisance when committing changes and for extracting just the text we want.

I would prefer to create a clean .html from Doc/library/idle.rst that just has the code for the doc, without the extraneous matter.  Do you know how?  I looked in Doc/make.bat and it says it will not work on single files.

----------
versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25218>
_______________________________________


More information about the Python-bugs-list mailing list