Uh oh!
There was an error while loading. Please reload this page.
gh-87904: Document curses classes - #151643
Conversation
Add docstrings for the curses.window, curses.error, curses.panel.panel and curses.panel.error classes. Document the panel class and its error exception in curses.panel.rst, using the real lowercase panel name.
Documentation build overview
29 files changed · |
serhiy-storchaka
commented
Jun 18, 2026
@encukou, are these IDs case-sensitive? |
Uh oh!
There was an error while loading. Please reload this page.
encukou
commented
Jun 19, 2026
serhiy-storchaka
commented
Jun 19, 2026
Alternative solution -- rename |
serhiy-storchaka
commented
Jun 20, 2026
I think it is better to resolve such issues on the HTML server side, if possible. Or add a special Sphynx extension. This PR is needed for #151748. |
StanFromIreland
commented
Jun 20, 2026
Server redirects can be added to https://github.com/python/psf-salt/blob/main/salt/docs/config/nginx.docs-redirects.conf. Hugo proposed a Sphinx extension above, it "redirects" by creating files at the locations pointing to the new location. |
hugovk
commented
Jun 23, 2026
Here: #151656 (comment) A benefit of using the Sphinx extension is that each branch is self-contained, so also works locally and for third parties (who of course aren't hosting on PSF infra). |
Instead of excluding the renamed curses.panel.Panel.* IDs from the check-html-ids.py check, keep the old URL fragments working by injecting <span> anchors, as proposed by Stan Ulbrych and done elsewhere (pythongh-89554). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
serhiy-storchaka
commented
Jun 24, 2026
In this case, redirection cannot help, we need to add anchors. The question is only whether to add a raw html, invisible |
Uh oh!
There was an error while loading. Please reload this page.
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
GH-152048 is a backport of this pull request to the 3.15 branch. |
Add docstrings for the curses.window, curses.error, curses.panel.panel and curses.panel.error classes. Document the panel class and its error exception in curses.panel.rst, using the real lowercase panel name. (cherry picked from commit 560ff8e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Document the panel class and its error exception in curses.panel.rst, using the real lowercase panel name. (cherry picked from commit 560ff8e) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Document the panel class and its error exception in curses.panel.rst, using the real lowercase panel name. (cherry picked from commit 560ff8e) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
GH-153751 is a backport of this pull request to the 3.14 branch. |
GH-153752 is a backport of this pull request to the 3.13 branch. |
Add docstrings for the curses.window, curses.error, curses.panel.panel and curses.panel.error classes. Document the panel class and its error exception in curses.panel.rst, using the real lowercase panel name.