Skip to content

Conversation

@terryjreedy
Copy link
Member

@terryjreedyterryjreedy commented Jan 12, 2026

On Windows, running python -c "from idlelib.help import copy_strip; copy_strip()" after idle.html is built results in f:\dev\3x\Doc\build\html\library\idle.html copied to f:\dev\3x\Lib\idlelib\help.html
This PR commits the change to idlelib/help.html.

On Windows, running `python -c "from idlelib.help import copy_strip; copy_strip()"` after idle.html is built results in `f:\dev\3x\Doc\build\html\library\idle.html copied to f:\dev\3x\Lib\idlelib\help.html` This PR commits the change to idlelib/help.html.
Copy link
Member

@StanFromIrelandStanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, locally it looks fine.

@terryjreedyterryjreedy merged commit ec254e2 into python:mainJan 12, 2026
50 checks passed
@miss-islington-app
Copy link

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@terryjreedyterryjreedy deleted the copy_strip branch January 12, 2026 17:55
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 12, 2026
…-143718) On Windows, running `python -c "from idlelib.help import copy_strip; copy_strip()"` after idle.html is built results in `f:\dev\3x\Doc\build\html\library\idle.html copied to f:\dev\3x\Lib\idlelib\help.html` This PR commits the html change to idlelib/help.html. (cherry picked from commit ec254e2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-app
Copy link

GH-143744 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14 bugs and security fixes label Jan 12, 2026
terryjreedy added a commit that referenced this pull request Jan 12, 2026
…) (#143744) gh-139707: Copy-strip change to idle.rst into idlelib (GH-143718) On Windows, running `python -c "from idlelib.help import copy_strip; copy_strip()"` after idle.html is built results in `f:\dev\3x\Doc\build\html\library\idle.html copied to f:\dev\3x\Lib\idlelib\help.html` This PR commits the html change to idlelib/help.html. (cherry picked from commit ec254e2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
reidenong pushed a commit to reidenong/cpython that referenced this pull request Jan 12, 2026
…43718) On Windows, running `python -c "from idlelib.help import copy_strip; copy_strip()"` after idle.html is built results in `f:\dev\3x\Doc\build\html\library\idle.html copied to f:\dev\3x\Lib\idlelib\help.html` This PR commits the html change to idlelib/help.html.
terryjreedy added a commit to terryjreedy/cpython that referenced this pull request Jan 13, 2026
Copy net new text in idle.rst from main to 3.13. Make 3.13 docs and copy-strip idle.html to idlelib/help.html. See python#139707 (comment) and PR python#143718 message for more.
terryjreedy added a commit that referenced this pull request Jan 13, 2026
Copy net new text in idle.rst from main to 3.13. Make 3.13 docs and copy-strip idle.html to idlelib/help.html. See #139707 (comment) and PR #143718 message for more. * Revert url to 'main' from '3.13' The branch in the source links in the revised help.html become '3.13' instead of 'main' because the html was generated from an edited 3.13 version of idle.rst instead being backported from main. This reversion avoids the possibility of future backport merge conflicts. The version makes no difference to the Help/IDLE doc display as the url is currently neither displayed nor linked to the link title -- 'Lib/idlelib'. If we do make the links live, we can use sys.version_info to replace 'main' when main is no longer the source branch.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@terryjreedy@StanFromIreland