New submission from Edison Abahurire <abahedis...@outlook.com>:

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 `Source code: Lib/datetime.py` that links to the cpython github 
file of that module.

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:
For https://docs.python.org/3/library/wsgiref.html, we can add this 
https://github.com/python/cpython/tree/master/Lib/wsgiref as the link to source 
code.

----------
assignee: docs@python
components: Documentation
messages: 370863
nosy: docs@python, edison.abahurire, eric.araujo, ezio.melotti, mdk, willingc
priority: normal
severity: normal
status: open
title: Missing links to Source Code in Documentation pages
type: enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40896>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to