From 30bf8ac3d447ff6b4315e1ad27c023aa0c2a5262 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 2 Aug 2022 16:45:31 -0600 Subject: [PATCH 1/2] Add an "internal changes" changelog section --- changelogs/internal/newsfragments/.gitignore | 0 changelogs/internal/newsfragments/1234.feature | 1 + layouts/shortcodes/changelog/changelog-changes.html | 1 + scripts/generate-changelog.sh | 1 + 4 files changed, 3 insertions(+) create mode 100644 changelogs/internal/newsfragments/.gitignore create mode 100644 changelogs/internal/newsfragments/1234.feature diff --git a/changelogs/internal/newsfragments/.gitignore b/changelogs/internal/newsfragments/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/changelogs/internal/newsfragments/1234.feature b/changelogs/internal/newsfragments/1234.feature new file mode 100644 index 000000000..23f23618a --- /dev/null +++ b/changelogs/internal/newsfragments/1234.feature @@ -0,0 +1 @@ +Add internal changes changelog section. \ No newline at end of file diff --git a/layouts/shortcodes/changelog/changelog-changes.html b/layouts/shortcodes/changelog/changelog-changes.html index d1d13ba12..99efce085 100644 --- a/layouts/shortcodes/changelog/changelog-changes.html +++ b/layouts/shortcodes/changelog/changelog-changes.html @@ -38,6 +38,7 @@

Changes since last release

{{ partial "render-api-changes" (dict "title" "Push Gateway API" "id" "push-gateway-api" "path" (path.Join $path "push_gateway")) }} {{ partial "render-api-changes" (dict "title" "Room Versions" "id" "room-versions" "path" (path.Join $path "room_versions")) }} {{ partial "render-api-changes" (dict "title" "Appendices" "id" "appendices" "path" (path.Join $path "appendices")) }} +{{ partial "render-api-changes" (dict "title" "Internal Changes/Tooling" "id" "internal" "path" (path.Join $path "internal")) }} {{ define "partials/render-api-changes" }}

{{ .title }}

diff --git a/scripts/generate-changelog.sh b/scripts/generate-changelog.sh index 1d82e5db4..f66e53585 100644 --- a/scripts/generate-changelog.sh +++ b/scripts/generate-changelog.sh @@ -12,6 +12,7 @@ cd changelogs rm -f rendered.* # Reversed order so that room versions ends up on the bottom +towncrier --name "Internal Changes/Tooling" --dir "./internal" --config "./pyproject.toml" --yes towncrier --name "Appendices" --dir "./appendices" --config "./pyproject.toml" --yes towncrier --name "Room Versions" --dir "./room_versions" --config "./pyproject.toml" --yes towncrier --name "Push Gateway API" --dir "./push_gateway" --config "./pyproject.toml" --yes From 67f1aa43280e96e5ea1a93b96f109091c974ecec Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 2 Aug 2022 16:47:43 -0600 Subject: [PATCH 2/2] update changelog number --- changelogs/internal/newsfragments/{1234.feature => 1194.feature} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelogs/internal/newsfragments/{1234.feature => 1194.feature} (100%) diff --git a/changelogs/internal/newsfragments/1234.feature b/changelogs/internal/newsfragments/1194.feature similarity index 100% rename from changelogs/internal/newsfragments/1234.feature rename to changelogs/internal/newsfragments/1194.feature