{{ message }}
gh-101100: Fix sphinx warnings in tutorial/appendix.rst#108750
Merged
hugovk merged 2 commits intoSep 1, 2023
Merged
Conversation
hugovk
approved these changes
Sep 1, 2023
This comment was marked as off-topic.
This comment was marked as off-topic.
Contributor
|
Sorry, @sobolevn and @hugovk, I could not cleanly backport this to |
Sorry, something went wrong.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 1, 2023
…onGH-108750) (cherry picked from commit 3047f09) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
hugovk
pushed a commit
to hugovk/cpython
that referenced
this pull request
Sep 1, 2023
pythonGH-108750) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>. (cherry picked from commit 3047f09) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
hugovk
pushed a commit
to hugovk/cpython
that referenced
this pull request
Sep 1, 2023
pythonGH-108750) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>. (cherry picked from commit 3047f09) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
Warnings before:
The problem here is that these module are not documented as
.. module::, they are documented as.. indexinstead https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-indexcpython/Doc/library/site.rst
Lines 112 to 126 in 044b8b3
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/