-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Missing links to Source Code in Documentation pages #85073
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just below the Module heading, most library documenation pages like https://docs.python.org/3/library/datetime.html have a link to the source code in the form of Some modules like https://docs.python.org/3/library/time.html are missing this though and yet I think it would be quite useful for people who want to navigate the depths of the implementation. Now, the challenge is that most modules are not located in single code files but what if, instead of leaving it blank, we link to the folder that contains the code of that module? Wouldn't that be helpful? For example: |
In the case of time, it's a C module. Those usually don't have a link to their implementation at the top. Others like wsgiref should have a link as having a quick way to read the implementation is a nice way to check on the implementation details and get acquainted with Python's internal. Could you open a PR to add those? |
Thanks for the review. |
Add some missing links to source from Python docs
Add some missing links to source from Python docs (cherry picked from commit 27d8dc2) Co-authored-by: Stanley <[email protected]>
Add some missing links to source from Python docs. (cherry picked from commit 27d8dc2) Co-authored-by: Stanley <[email protected]>
(cherry picked from commit 27d8dc2) Co-authored-by: Stanley <[email protected]>
Nice, thanks for finishing this! |
Uh oh!
There was an error while loading. Please reload this page.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: