[New-bugs-announce] [issue25218] Automate creation of idlelib/help.html from Doc/.../idle.html

Terry J. Reedy report at bugs.python.org
Wed Sep 23 05:42:35 CEST 2015


New submission from Terry J. Reedy:

This continues #16893, which replaced help.txt with help.html for the Idle doc display.  It also replaced the display classes with new classes in help.py.  I currently create help.html in a .bat file.  With Doc as current directory, it uses
  ..\pcbuild\python_d.exe -c "from idlelib.help import copy_strip; copy_strip()"
With a change to the help.py if __name__ block so that
  ..\pcbuild\python_d.exe -m idlelib.help copy_strip
would work.

This issue is first about revising Zack Ware's makefile patch, https://bugs.python.org/file36975/issue16893-v4.diff, which adds an 'idledoc' target.  It is attached to #16893.  It needs 'copy' replaced by 'copy, strip, and rename'. The command above requires finding a compatible python.exe, and I do not know if that is a problem.

In normal use, 'idledoc' should only be invoked for the earliest 3.x getting maintenance patches, and the result merged forward.

If this is resolved, it would be nice if the new 'idledoc' target were built as apart of the release process, and any changes checked in.  But the latter should currently still be done for all 3.x branches

----------
assignee: terry.reedy
messages: 251402
nosy: terry.reedy, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Automate creation of idlelib/help.html from Doc/.../idle.html
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6

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


More information about the New-bugs-announce mailing list