Conversation
Add guidance on keeping typo-fix PRs small and focused, listing appropriate directories (Doc/, Misc/, Misc/NEWS.d/) and noting that large sweeping PRs may be closed.
- Clarify which directories are appropriate for typo fixes - Encourage small, focused PRs to reduce reviewer notification burden - Explicitly note that large PRs or PRs outside listed directories may be closed with a reference to this section
Documentation build overview
78 files changed ·
|
willingc
left a comment
There was a problem hiding this comment.
Thanks @johnslavik. Please leave a brief note in the PR submission message what prompted you to propose these devguide changes. I do think that this is a useful addition. ☀️
| #. **Keep your pull request focused and small.** A pull request should address | ||
| one issue or add one feature. Combining multiple unrelated changes makes a | ||
| pull request harder to review and increases the number of people notified | ||
| unnecessarily. When in doubt, split into separate pull requests. |
There was a problem hiding this comment.
| unnecessarily. When in doubt, split into separate pull requests. | |
| unnecessarily. |
| Typo fixes | ||
| ========== | ||
|
|
||
| Fixing typos and grammatical errors in documentation is a welcome |
There was a problem hiding this comment.
| Fixing typos and grammatical errors in documentation is a welcome | |
| Fixing typos and grammatical errors in documentation is a |
| places for such fixes are: | ||
|
|
||
| * The ``Doc/`` directory (end-user documentation) | ||
| * Internal documentation, such as files in ``Misc/`` | ||
| * News entries under ``Misc/NEWS.d/`` | ||
|
|
||
| Keep typo-fix PRs **small and focused**, ideally limited to one file or a | ||
| small set of closely related files. Large PRs that touch many unrelated files | ||
| notify a large number of reviewers unnecessarily and are harder to review. | ||
| Large typo-fix PRs, or PRs touching directories outside those listed above, | ||
| may be closed with a reference to this section. |
There was a problem hiding this comment.
| places for such fixes are: | |
| * The ``Doc/`` directory (end-user documentation) | |
| * Internal documentation, such as files in ``Misc/`` | |
| * News entries under ``Misc/NEWS.d/`` | |
| Keep typo-fix PRs **small and focused**, ideally limited to one file or a | |
| small set of closely related files. Large PRs that touch many unrelated files | |
| notify a large number of reviewers unnecessarily and are harder to review. | |
| Large typo-fix PRs, or PRs touching directories outside those listed above, | |
| may be closed with a reference to this section. | |
| place for such fixes is the ``Doc/`` directory (end-user documentation). | |
| Keep typo-fix PRs **small and focused**. Large PRs that touch many unrelated files | |
| notify a large number of reviewers unnecessarily and are harder to review. | |
| Large typo-fix PRs, or PRs touching directories outside those listed above, | |
| may be closed with a reference to this section. |
There was a problem hiding this comment.
IMO we can also include InternalDocs.
There was a problem hiding this comment.
I was on the fence about InternalDocs. No objection about keeping it in.
| places for such fixes are: | ||
|
|
||
| * The ``Doc/`` directory (end-user documentation) | ||
| * Internal documentation, such as files in ``Misc/`` | ||
| * News entries under ``Misc/NEWS.d/`` | ||
|
|
||
| Keep typo-fix PRs **small and focused**, ideally limited to one file or a | ||
| small set of closely related files. Large PRs that touch many unrelated files | ||
| notify a large number of reviewers unnecessarily and are harder to review. | ||
| Large typo-fix PRs, or PRs touching directories outside those listed above, | ||
| may be closed with a reference to this section. |
There was a problem hiding this comment.
IMO we can also include InternalDocs.
| <https://github.com/python/cpython/issues/126133#issuecomment-2460824052>`__. | ||
|
|
||
|
|
||
| .. _typo-fixes: |
There was a problem hiding this comment.
Did you mean to reference the section somewhere?
Closes #1448