[issue40896] Missing links to Source Code in Documentation pages

2020-06-12 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 7.0 -> 8.0
pull_requests: +20036
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20843

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40896] Missing links to Source Code in Documentation pages

2020-06-07 Thread Edison Abahurire


Edison Abahurire  added the comment:

Thanks for the review. 
I'll open a PR.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40896] Missing links to Source Code in Documentation pages

2020-06-07 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

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?

--
nosy: +remi.lapeyre
versions: +Python 3.10, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40896] Missing links to Source Code in Documentation pages

2020-06-06 Thread Edison Abahurire


New submission from Edison Abahurire :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com