Skip to content

gh-59551: Rename Doc/library/dialog.rst to tkinter.dialog.rst#151656

Open
serhiy-storchaka wants to merge 2 commits into
python:mainfrom
serhiy-storchaka:tkinter-docs-dialog
Open

gh-59551: Rename Doc/library/dialog.rst to tkinter.dialog.rst#151656
serhiy-storchaka wants to merge 2 commits into
python:mainfrom
serhiy-storchaka:tkinter-docs-dialog

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 18, 2026

Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka added docs Documentation in the Doc dir needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 18, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Jun 18, 2026
@serhiy-storchaka serhiy-storchaka requested a review from hugovk June 18, 2026 13:59
@serhiy-storchaka

Copy link
Copy Markdown
Member Author

I was surprised by finding the part of the Tkinter documentation in uncommon place.

@read-the-docs-community

read-the-docs-community Bot commented Jun 18, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33201844 | 📁 Comparing 243f30c against main (d47c27e)

  🔍 Preview build  

8 files changed · + 1 added · ± 6 modified · - 1 deleted

+ Added

± Modified

- Deleted

@hugovk

hugovk commented Jun 18, 2026

Copy link
Copy Markdown
Member

We'll need to have a redirect from the old:

https://cpython-previews--151656.org.readthedocs.build/en/151656/library/dialog.html

to the new:

https://cpython-previews--151656.org.readthedocs.build/en/151656/library/tkinter.dialog.html

We use the https://github.com/sphinx-doc/sphinxext-rediraffe extension in the devguide:

https://github.com/python/devguide/blob/e0ecbef0fad11be66fd16858bf9835de7ce6107b/conf.py#L123

We generally try and avoid extensions in this repo to help downstream redistributors, but I think it's okay to put it in _OPTIONAL_EXTENSIONS -- we'll have the redirect for our site, and it's not such a big deal if downstreams don't.


Ping also @encukou, because we've recently been talking about how to split up large pages into smaller ones, and he's been working on (or planning to) develop tooling for that which could be useful here. But that's a somewhat different issue, and Rediraffe should be fine for this tkinter redirect.

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 needs backport to 3.15 pre-release feature fixes, bugs and security fixes

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants