Skip to content

Commit

Permalink
Merge pull request #728 from OpenFreeEnergy/feat/add_changelog
Browse files Browse the repository at this point in the history
Changelog automation
  • Loading branch information
richardjgowers authored Feb 16, 2024
2 parents 7b3c2fe + 5996129 commit 2150c20
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
<!--
Thank you for pull request.
Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant.
-->

<!--
Please note any issues this fixes using [closing keywords]( https://help.github.com/articles/closing-issues-using-keywords/ ):
-->

<!--
see https://regro.github.io/rever-docs/news.html for details on how to add news entry (you do not need to run the rever command)
-->

Checklist
* [ ] Added a ``news`` entry

## Developers certificate of origin
- [ ] I certify that this contribution is covered by the MIT License [here](https://github.com/OpenFreeEnergy/openfe/blob/main/LICENSE) and the **Developer Certificate of Origin** at <https://developercertificate.org/>.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,6 @@ docs/ExampleNotebooks/

# Some charge stuff
*.model.pt

# Rever
rever/
5 changes: 5 additions & 0 deletions docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
=================
openfe Change Log
=================

.. current developments
7 changes: 4 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ The **OpenFE** toolkit provides open-source frameworks for calculating alchemica

Reference guide on using the OpenFE CLI.

.. grid-item-card:: OpenFE Showcase
.. grid-item-card:: Changelog
:img-top: _static/Showcase.svg
:text-align: center
:link: tutorials/showcase_notebook
:link: CHANGELOG
:link-type: doc

Tutorial notebook showing the sorts of things OpenFE can do.
Any notable changes in the package for each released version

.. grid-item-card:: Relative Free Energy Protocol
:img-top: _static/Rocket.svg
Expand All @@ -92,6 +92,7 @@ The **OpenFE** toolkit provides open-source frameworks for calculating alchemica
guide/index
cookbook/index
reference/index
CHANGELOG

Indices and tables
------------------
Expand Down
23 changes: 23 additions & 0 deletions news/TEMPLATE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
23 changes: 23 additions & 0 deletions news/add_rever.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* use rever to manage changelog

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
7 changes: 7 additions & 0 deletions rever.xsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$PROJECT = $GITHUB_REPO = 'openfe'
$GITHUB_ORG = 'OpenFreeEnergy'

$ACTIVITIES = ['changelog']

$CHANGELOG_FILENAME = 'docs/CHANGELOG.rst'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'

0 comments on commit 2150c20

Please sign in to comment.