Skip to content

Commit

Permalink
Add Changelog (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCentauri authored Dec 5, 2024
1 parent 3c57b60 commit 540871f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:

jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,13 +19,12 @@ jobs:
with:
python-version: "3.12"
- name: install dependencies
run: |
python -m pip install tox
run: python -m pip install tox
- name: build documentation
run: tox -e docs
- name: put documentation in the website
run: |
git clone https://oauth2:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY --branch gh-pages gh-pages
git clone https://github.com/$GITHUB_REPOSITORY --branch gh-pages gh-pages
rm -rf gh-pages/.git
cd gh-pages
Expand Down
26 changes: 26 additions & 0 deletions docs/src/references/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.. _userdoc-changelog:

Changelog
=========

All notable changes to ``torch-pme`` are documented here, following the `keep a
changelog <https://keepachangelog.com/en/1.1.0/>`_ format. This project follows
`Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.


`Unreleased <https://github.com/lab-cosmo/torch-pme/>`_
-------------------------------------------------------

Added
#####

* First release outside of the lab.

.. Fixed
.. #####
.. Changed
.. #######
.. Removed
.. #######
1 change: 1 addition & 0 deletions docs/src/references/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ refer to the :ref:`userdoc-how-to` section.
metatensor
lib/index
utils/index
changelog
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Chemistry",
Expand Down Expand Up @@ -60,10 +61,11 @@ examples = [
metatensor = ["metatensor-torch <0.7,>=0.6"]

[project.urls]
homepage = "http://torch-pme.readthedocs.io"
documentation = "http://torch-pme.readthedocs.io"
homepage = "https://lab-cosmo.github.io/torch-pme"
documentation = "https://lab-cosmo.github.io/torch-pme"
repository = "https://github.com/lab-cosmo/torch-pme"
issues = "https://github.com/lab-cosmo/torch-pme/issues"
changelog = "https://lab-cosmo.github.io/torch-pme/latest/references/changelog.html"

[tool.coverage.report]
show_missing = true
Expand Down

0 comments on commit 540871f

Please sign in to comment.