-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Missing links to Source Code in Documentation pages #85073
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 <46876382+slateny@users.noreply.github.com>
Add some missing links to source from Python docs. (cherry picked from commit 27d8dc2) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Nice, thanks for finishing this! |
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: