Skip to content

Commit

Permalink
mention checking badges during release
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Oct 27, 2023
1 parent 5d32855 commit 99ce6bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,12 @@ Other tags can describe the PR content : [FIX] for a bugfix, [DOC] for a
change in documentation or examples, [ENH] for a new feature and [MAINT] for
maintenance changes.

.. _changelog:

Changelog
---------

Changelog entries in ``doc/changes/latest.rst`` should adhere to the following conventions:
Changelog entries in ``nilearn/doc/changes/latest.rst`` should adhere to the following conventions:

- Entry in the appropriate category
- Single line per entry
Expand All @@ -294,7 +296,7 @@ List of badges:
:bdg-danger:`Deprecation`
:bdg-dark:`Code`
Example entry in ``doc/changes/latest.rst``:
Example entry in ``nilearn/doc/changes/latest.rst``:

.. code-block:: rst
Expand Down
3 changes: 3 additions & 0 deletions doc/maintenance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ Finally, we need to change the title from ``x.y.z.dev`` to ``x.y.z``:
- Nilearn now includes functionality A
- ...
We must also ensure that every entry in ``nilearn/doc/changes/latest.rst``
starts with a "badge" (see the :ref:`changelog` section).

Once we have made all the necessary changes to ``nilearn/doc/changes/latest.rst``, we should rename it into ``nilearn/doc/changes/x.y.z.rst``, where ``x.y.z`` is the corresponding version number.

We then need to update ``nilearn/doc/changes/whats_new.rst`` and replace:
Expand Down

0 comments on commit 99ce6bf

Please sign in to comment.