| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
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 overview29 files changed · ± 29 modified ± Modified |
Sorry, something went wrong.
|
@encukou, are these IDs case-sensitive? |
Sorry, something went wrong.
That can be a separate (docs-wide) decision; this PR can just add these to removed-ids.txt. |
Sorry, something went wrong.
|
Alternative solution -- rename curses.panel.panel to curses.panel.Panel. But then we would perhaps need to also rename curses.window to curses.Window, and this will create much more IDs issues. |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
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. |
Sorry, something went wrong.
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). |
Sorry, something went wrong.
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>
|
In this case, redirection cannot help, we need to add anchors. The question is only whether to add a raw html, invisible no-typesetting declarations, or use custom Sphinx directives from extension. For now, I added a raw html. |
Sorry, something went wrong.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
Sorry, something went wrong.
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.14 due to a conflict. cherry_picker 560ff8e2021d818555884622f6865f4a0d60756f 3.14 |
Sorry, something went wrong.
|
GH-152048 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
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. |
Sorry, something went wrong.
|
GH-153752 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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.