Skip to content

Conversation

@edison12a
Copy link
Contributor

@edison12a edison12a commented Jun 12, 2020

Copy link

@remilapeyre remilapeyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @SimiCode, except curses.panel.rst that contains no code I think you got them all.

@@ -0,0 +1 @@
Add links to Library source code to Documentation. Enhanced by Edison Abahurire. No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation only changes don't need a blurb.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But they can and for non-trivial changes ofter do. 'Documentation' is a section in the blurb template and in the changelog.
https://docs.python.org/3/whatsnew/changelog.html#changelog
I would change and expand to
"Add source links to doc for 2to3, asyncio/, ..., curses/, ... wsgiref."

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in this case it could be reasonable either way, but I wouldn't consider it to be strictly required for small documentation enhancements.


.. sectionauthor:: A.M. Kuchling <[email protected]>

**Source code:** :source:`Lib/curses/panel.py`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is not really useful.

Copy link
Contributor Author

@edison12a edison12a Jun 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@remilapeyre Why, Has it been deprecated?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@aeros aeros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @SimiCode.

In the case of the asyncio documentation changes, some of the source code links were intentionally omitted as not being particularly relevant or additionally useful for the reader's understanding. Also, in the case of the link to the source code for asyncio, it's already displayed in the footer of the documentation and doesn't need to be displayed at the top as well.

For more details, see Yury's review comments on my PR that was merged last year: #16640.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Copy link
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We started with a few, then some more, and then some more. I am sure some of these were intentionally left out, but the line is fuzzy and the added space in the doc small. Where the package has a maintainer, you might ask if there is a really good reason for the omission.

.. deprecated:: 3.4
Due to lack of usage, the formatter module has been deprecated.

**Source code:** :source:`Lib/formatter.py`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I an not sure that adding this for a deprecated module is a good idea.

@@ -0,0 +1 @@
Add links to Library source code to Documentation. Enhanced by Edison Abahurire. No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But they can and for non-trivial changes ofter do. 'Documentation' is a section in the blurb template and in the changelog.
https://docs.python.org/3/whatsnew/changelog.html#changelog
I would change and expand to
"Add source links to doc for 2to3, asyncio/, ..., curses/, ... wsgiref."

@remilapeyre
Copy link

Hi @SimiCode, thanks for your work! Please address the last comments of the code review.


.. sectionauthor:: Benjamin Peterson <[email protected]>

**Source code:** :source:`Lib/lib2to3`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also deprecated.

@slateny
Copy link
Contributor

slateny commented Nov 2, 2022

@edison12a Would you still be interested in addressing some of the comments above? I can clone and create a new PR if not.

@slateny
Copy link
Contributor

slateny commented Nov 11, 2022

If you'd like to resume the PR let me know and I can reopen. In the meanwhile, see #99363 instead.

@slateny slateny closed this Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting changes docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants