-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds towncrier and giles config (#149)
- Loading branch information
Showing
7 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
========= | ||
Changelog | ||
========= | ||
|
||
.. note:: | ||
|
||
This README was adapted from the pytest changelog readme under the terms of the MIT licence. | ||
|
||
This directory contains "news fragments" which are short files that contain a small **ReST**-formatted text that will be added to the next ``CHANGELOG``. | ||
|
||
The ``CHANGELOG`` will be read by users, so this description should be aimed at SunPy users instead of describing internal changes which are only relevant to the developers. | ||
|
||
Make sure to use full sentences with correct case and punctuation, for example:: | ||
|
||
Add support for Helioprojective coordinates in `sunpy.coordinates.frames`. | ||
|
||
Please try to use Sphinx intersphinx using backticks. | ||
|
||
Each file should be named like ``<PULL REQUEST>.<TYPE>[.<COUNTER>].rst``, where ``<PULL REQUEST>`` is a pull request number, ``COUNTER`` is an optional number if a PR needs multiple entries with the same type 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. | ||
* ``bugfix``: Fixes a reported bug. | ||
* ``doc``: Documentation addition or improvement, like rewording an entire session or adding missing docs. | ||
* ``deprecation``: Feature deprecation | ||
* ``removal``: Feature removal. | ||
* ``trivial``: A change which has no user facing effect or is tiny change. | ||
|
||
So for example: ``123.feature.rst``, ``456.bugfix.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
{{ cookiecutter.package_name }}/docs/whatsnew/changelog.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _changelog: | ||
|
||
************** | ||
Full Changelog | ||
************** | ||
|
||
.. changelog:: | ||
:towncrier: ../../ | ||
:towncrier-skip-if-empty: | ||
:changelog_file: ../../CHANGELOG.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. _whatsnew: | ||
|
||
*************** | ||
Release History | ||
*************** | ||
|
||
This page documents the releases for {{ cookiecutter.package_name }} | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters