@@ -240,28 +240,28 @@ def __init__(self, parent, filename, title):
240240def copy_strip ():
241241 """Copy idle.html to idlelib/help.html, stripping trailing whitespace.
242242
243- Files with trailing whitespace cannot be pushed to the hg cpython
243+ Files with trailing whitespace cannot be pushed to the git cpython
244244 repository. For 3.x (on Windows), help.html is generated, after
245- editing idle.rst in the earliest maintenance version , with
245+ editing idle.rst on the master branch , with
246246 sphinx-build -bhtml . build/html
247247 python_d.exe -c "from idlelib.help import copy_strip; copy_strip()"
248- After refreshing TortoiseHG workshop to generate a diff,
249- check both the diff and displayed text. Push the diff along with
250- the idle.rst change and merge both into default (or an intermediate
251- maintenance version).
252-
253- When the 'earlist' version gets its final maintenance release,
254- do an update as described above, without editing idle.rst, to
255- rebase help.html on the next version of idle.rst. Do not worry
256- about version changes as version is not displayed. Examine other
257- changes and the result of Help -> IDLE Help.
258-
259- If maintenance and default versions of idle.rst diverge, and
260- merging does not go smoothly, then consider generating
261- separate help.html files from separate idle.htmls .
248+ Check build/html/library/idle.html, the help.html diff, and the text
249+ displayed by Help => IDLE Help. Add a blurb and create a PR.
250+
251+ It can be worthwhile to occasionally generate help.html without
252+ touching idle.rst. Changes to the master version and to the doc
253+ build system may result in changes that should not changed
254+ the displayed text, but might break HelpParser.
255+
256+ As long as master and maintenance versions of idle.rst remain the
257+ same, help.html can be backported. The internal Python version
258+ number is not displayed. If maintenance idle.rst diverges from
259+ the master version, then instead of backporting help.html from
260+ master, repeat the proceedure above to generate a maintenance
261+ version .
262262 """
263263 src = join (abspath (dirname (dirname (dirname (__file__ )))),
264- 'Doc' , 'build' , 'html' , 'library' , 'idle.html' )
264+ 'Doc' , 'build' , 'html' , 'library' , 'idle.html' )
265265 dst = join (abspath (dirname (__file__ )), 'help.html' )
266266 with open (src , 'rb' ) as inn ,\
267267 open (dst , 'wb' ) as out :
0 commit comments