Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-101100: Fix sphinx warnings intutorial/appendix.rst
#108750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry,@sobolevn and@hugovk, I could not cleanly backport this to |
bedevere-bot commentedSep 1, 2023
GH-108757 is a backport of this pull request to the3.11 branch. |
…onGH-108750)(cherry picked from commit3047f09)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
pythonGH-108750)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>.(cherry picked from commit3047f09)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
pythonGH-108750)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>.(cherry picked from commit3047f09)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
bedevere-bot commentedSep 1, 2023
GH-108759 is a backport of this pull request to the3.12 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Warnings before:
The problem here is that these module are not documented as
.. module::
, they are documented as.. index
insteadhttps://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-indexcpython/Doc/library/site.rst
Lines 112 to 126 in044b8b3
So, I went with
:index:
inline role. This way once some location is added to their definitions (a header, probably) they will automatically link there.📚 Documentation preview 📚:https://cpython-previews--108750.org.readthedocs.build/