Skip to content

Commit

Permalink
Docs: Add the changelog to the documentation
Browse files Browse the repository at this point in the history
This uses the `myst-parser` package to automatically convert the
markdown format of `CHANGELOG.md` to restructured text.
  • Loading branch information
sphuber authored Nov 1, 2023
1 parent 8a35868 commit 6bc435b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```{include} ../../CHANGELOG.md
```
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
copyright = 'Sebastiaan P. Huber 2022 - 2023'
release = aiida_shell.__version__

extensions = ['sphinx_copybutton', 'sphinx_click', 'sphinx.ext.intersphinx']
extensions = ['myst_parser', 'sphinx_copybutton', 'sphinx_click', 'sphinx.ext.intersphinx']

html_theme = 'pydata_sphinx_theme'
html_theme_options = {
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@ Please refer to the `CITATION.cff <https://github.com/sphuber/aiida-shell/blob/m

installation
howto
changelog
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ dev = [
'pytest-regressions',
]
docs = [
'myst-parser',
'pydata-sphinx-theme~=0.14.3',
'sphinx~=7.2',
'sphinx-copybutton~=0.5.0',
Expand Down

0 comments on commit 6bc435b

Please sign in to comment.