Skip to content

Commit 71f5884

Browse files
committed
Generate changelog from Github releases
1 parent 982685d commit 71f5884

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

CHANGELOG.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Changelog
33

44
This document describes changes between each past release.
55

6+
>= 16.4.0
7+
---------
8+
9+
Since 16.4.0, the `changelog in our documentation <https://docs.kinto-storage.org/en/stable/changelog.html>`_ is automatically generated from our `Github releases <https://github.com/Kinto/kinto/releases>`_
10+
11+
612
16.3.0 (2024-01-12)
713
-------------------
814

@@ -27,7 +33,7 @@ This document describes changes between each past release.
2733
16.2.2 (2023-11-21)
2834
-------------------
2935

30-
- Upgraded Kinto Admin to `v2.1.0 <https://github.com/Kinto/kinto-admin/releases/tag/v2.1.0>`_
36+
- Upgraded Kinto Admin to `v2.1.0 <https://github.com/Kinto/kinto-admin/releases/tag/v2.1.0>`_
3137

3238

3339
16.2.1 (2023-09-13)

docs/changelog.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
.. include:: ../CHANGELOG.rst
1+
Changelog
2+
=========
3+
4+
.. changelog::
5+
:changelog-url: https://docs.kinto-storage.org/en/stable/changelog.html
6+
:github: https://github.com/Kinto/kinto/releases/
7+
:pypi: https://pypi.org/project/kinto/

docs/conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"sphinxcontrib.httpdomain",
5151
"sphinx.ext.extlinks",
5252
"sphinx.ext.intersphinx",
53+
"sphinx_github_changelog",
5354
]
5455

5556
# Add any paths that contain templates here, relative to this directory.
@@ -169,6 +170,10 @@ def setup(app):
169170
"pyramid": ("https://pyramid.readthedocs.io/en/latest/", None),
170171
}
171172

173+
# -- Changelog
174+
175+
sphinx_github_changelog_token = os.getenv("SPHINX_GITHUB_CHANGELOG_TOKEN")
176+
172177
# -- Options for LaTeX output ---------------------------------------------
173178

174179
latex_elements = {}

docs/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Sphinx==7.2.6
22
sphinx_rtd_theme==2.0.0
33
docutils==0.20.1
44
sphinxcontrib-httpdomain==1.8.1
5+
sphinx-github-changelog==1.2.1
56
kinto
67
mock==5.1.0
78
webtest==3.0.0

0 commit comments

Comments
 (0)