| 1 |
This directory collects "newsfragments": short files that each contain |
| 2 |
a snippet of ReST-formatted text that will be added to the next |
| 3 |
release notes. This should be a description of aspects of the change |
| 4 |
(if any) that are relevant to users. (This contrasts with your commit |
| 5 |
message and PR description, which are a description of the change as |
| 6 |
relevant to people working on the code itself.) |
| 7 |
|
| 8 |
Each file should be named like ``<ISSUE>.<TYPE>.rst``, where |
| 9 |
``<ISSUE>`` is an issue number, and ``<TYPE>`` is one of: |
| 10 |
|
| 11 |
* ``headline``: a major new feature we want to highlight for users |
| 12 |
* ``breaking``: any breaking changes that happen without a proper |
| 13 |
deprecation period (note: deprecations, and removal of previously |
| 14 |
deprecated features after an appropriate time, go in the |
| 15 |
``deprecated`` category instead) |
| 16 |
* ``feature``: any new feature that doesn't qualify for ``headline`` |
| 17 |
* ``removal``: removing support for old python versions, or other removals with no deprecation period. |
| 18 |
* ``bugfix`` |
| 19 |
* ``doc`` |
| 20 |
* ``deprecated`` |
| 21 |
* ``misc`` |
| 22 |
|
| 23 |
So for example: ``123.headline.rst``, ``456.bugfix.rst``, |
| 24 |
``789.deprecated.rst`` |
| 25 |
|
| 26 |
If your PR fixes an issue, use that number here. If there is no issue, |
| 27 |
then after you submit the PR and get the PR number you can add a |
| 28 |
newsfragment using that instead. |
| 29 |
|
| 30 |
Your text can use all the same markup that we use in our Sphinx docs. |
| 31 |
For example, you can use double-backticks to mark code snippets, or |
| 32 |
single-backticks to link to a function/class/module. |
| 33 |
|
| 34 |
To check how your formatting looks, the easiest way is to make the PR, |
| 35 |
and then after the CI checks run, click on the "Read the Docs build" |
| 36 |
details link, and navigate to the release history page. |