Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh-59551: Add a stub page for the old library/dialog.html URL - #156949

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:tkinter-docs-dialog-stub
Open

gh-59551: Add a stub page for the old library/dialog.html URL#156949
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:tkinter-docs-dialog-stub

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Sep 4, 2026

Copy link
Copy Markdown
Member

Keep Doc/library/dialog.rst as an :orphan: stub page, so that existing links to library/dialog.html keep working after the rename in #151656. It points to the new page and lists the four modules documented there, so that deep links into the old page land on something useful.

check-html-ids.py now accepts * in place of an ID in removed-ids.txt, excluding all IDs removed from a page. It is needed here because the stub keeps the page alive, so the (page missing) marker no longer applies to it. The two markers stay distinct: * forgives the moved anchors, while removing the page itself would still be reported.

Based on #151656.

@read-the-docs-community

read-the-docs-community Bot commented Sep 4, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34532611 | 📁 Comparing cb911ab against main (1a2e3a0)

  🔍 Preview build  

37 files changed · + 1 added · ± 36 modified

+ Added

± Modified

Add support for the "*" marker in Doc/tools/removed-ids.txt, which
excludes all IDs of a page from the check-html-ids.py check.
@StanFromIreland

Copy link
Copy Markdown
Member

As I noted at #151656 (comment) If we add a redirect, we don't need a stub? See discussion on #156682.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants