Improve cross-references in runpy docs#107673
Conversation
AA-Turner
left a comment
There was a problem hiding this comment.
Thanks for this PR! Some comments:
A
Sorry, something went wrong.
|
@AA-Turner Thanks for the review. I addressed your comments. |
Sorry, something went wrong.
AA-Turner
left a comment
There was a problem hiding this comment.
Thanks!
A
Sorry, something went wrong.
AlexWaygood
left a comment
There was a problem hiding this comment.
Even better than adding backticks would be to link to the docs for sys.path!
Sorry, something went wrong.
|
@AlexWaygood I saw that the other already existing |
Sorry, something went wrong.
Ahh, should've thought of that! Thanks for spotting this :) A |
Sorry, something went wrong.
AlexWaygood
left a comment
There was a problem hiding this comment.
Looks great, thank you!
Sorry, something went wrong.
|
Thanks @kamilturek for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
- Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links (cherry picked from commit 4e242d1) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
- Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links (cherry picked from commit 4e242d1) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
Improve cross-references in `runpy` docs (GH-107673) - Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links (cherry picked from commit 4e242d1) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
Improve cross-references in `runpy` docs (GH-107673) - Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links (cherry picked from commit 4e242d1) Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
- Add links to `__main__` and `sys.path` where appropriate - Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links
sys.pathin a few places.Lowercased text in parentheses.📚 Documentation preview 📚: https://cpython-previews--107673.org.readthedocs.build/