-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add towncrier README and config #14589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
225c5b8
a2bd7d4
ceeee8f
6649d4f
663b632
40c6864
26f5641
dad754c
ab60557
05f3319
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The towncrier package is now used to generate changelogs |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
:orphan: | ||
|
||
Changelog | ||
========= | ||
|
||
This directory contains "news fragments" which are short files that contain a | ||
small **ReST**-formatted text that will be added to the next what's new page. | ||
|
||
Make sure to use full sentences with correct case and punctuation, and please | ||
try to use Sphinx intersphinx using backticks. | ||
|
||
Each file should be named like ``<PULL REQUEST>.<TYPE>.rst``, where | ||
``<PULL REQUEST>`` is a pull request number, and ``<TYPE>`` is one of: | ||
|
||
* ``breaking``: A change which requires users to change code and is not | ||
backwards compatible. (Not to be used for removal of deprecated features.) | ||
* ``feature``: New user facing features and any new behavior. | ||
* ``removal``: Removal of a deprecated part of the API. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It may be worth adding a I currently don't actually have those |
||
* ``bugfix``: Any bug fixes that do not require users to change code. | ||
|
||
So for example: ``123.feature.rst``, ``456.api_change.rst``. | ||
|
||
If you are unsure what pull request type to use, don't hesitate to ask in your | ||
PR. | ||
|
||
Note that the ``towncrier`` tool will automatically reflow your text, so it | ||
will work best if you stick to a single paragraph, but multiple sentences and | ||
links are OK and encouraged. | ||
|
||
You can install ``towncrier`` and then run ``towncrier --draft`` if you want to | ||
get a preview of how your change will look in the final release notes. | ||
|
||
.. note:: | ||
|
||
This README was adapted from the pytest changelog readme under the terms of | ||
the MIT licence. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ numpydoc>=0.8 | |
pillow>=3.4,!=5.4.0 | ||
sphinx-gallery>=0.2 | ||
sphinx-copybutton | ||
towncrier |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
[tool.towncrier] | ||
package = "matplotlib" | ||
filename = "doc/CHANGELOG.rst" | ||
directory = "changelog/" | ||
issue_format = "`#{issue} <https://github.com/matplotlib/matplotlib/pull/{issue}>`__" | ||
|
||
[[tool.towncrier.type]] | ||
directory = "breaking" | ||
name = "Breaking API changes" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "bugfix" | ||
name = "Bug fixes" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "removal" | ||
name = "Removals" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "feature" | ||
name = "New features" | ||
showcontent = true |
Uh oh!
There was an error while loading. Please reload this page.