Skip to content

Commit e7ebf40

Browse files
committed
repeal changelog generation
It can be addressed separately.
1 parent a3b6f9c commit e7ebf40

File tree

5 files changed

+5
-28
lines changed

5 files changed

+5
-28
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,6 @@ jobs:
6464
if: contains(matrix, 'node-version')
6565
- run: pipx run nox -s ${{ matrix.nox-sessions }}
6666

67-
create_release:
68-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
69-
# This needs to be done before the docs are built to ensure the latest tagged commit is
70-
# shown as a release in the generated changelog.
71-
runs-on: ubuntu-latest
72-
steps:
73-
- uses: actions/checkout@v3
74-
- name: Create a Github Release
75-
run: gh release create ${{ github.ref_name }} --generate-notes
76-
# note that just like tags, GH releases can be deleted/re-created/edited/etc.
77-
7867
build:
7968
needs: [check_conventions]
8069
strategy:
@@ -128,8 +117,6 @@ jobs:
128117
with:
129118
macos-skip-brew-update: 'true'
130119
- name: Build docs
131-
env:
132-
SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}
133120
run: nox -s docs
134121
- name: Upload doc builds as artifacts
135122
uses: actions/upload-artifact@v3
@@ -277,3 +264,8 @@ jobs:
277264
user: __token__
278265
password: ${{ secrets.pypi_token }}
279266
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
267+
- uses: actions/checkout@v3
268+
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
269+
- name: Create a Github Release
270+
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
271+
run: gh release create ${{ github.ref_name }} --generate-notes

docs/changelog.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"sphinx_immaterial.graphviz",
6565
"sphinx_jinja",
6666
"myst_parser",
67-
"sphinx_github_changelog",
6867
]
6968

7069
intersphinx_mapping = {

docs/index.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,3 @@ or ``theme.conf`` for more details.
142142
rst-cheatsheet/rst-cheatsheet
143143
additional_samples
144144
myst_typography
145-
146-
.. toctree::
147-
:hidden:
148-
149-
changelog

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
sphinx-immaterial[json,clang-format,keys,cpp]
22
sphinx-jinja
33
myst-parser
4-
sphinx-github-changelog

0 commit comments

Comments
 (0)