From 92b29cf8e6edcd70977a9cd7543fdf26c50b1c0f Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 19 Nov 2021 11:00:37 +0000 Subject: [PATCH] Add a changelog directory for room versions (#3504) --- changelogs/room_versions/newsfragments/.gitignore | 1 + layouts/shortcodes/changelog/changelog-changes.html | 1 + scripts/generate-changelog.sh | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelogs/room_versions/newsfragments/.gitignore diff --git a/changelogs/room_versions/newsfragments/.gitignore b/changelogs/room_versions/newsfragments/.gitignore new file mode 100644 index 00000000..b722e9e1 --- /dev/null +++ b/changelogs/room_versions/newsfragments/.gitignore @@ -0,0 +1 @@ +!.gitignore \ No newline at end of file diff --git a/layouts/shortcodes/changelog/changelog-changes.html b/layouts/shortcodes/changelog/changelog-changes.html index edd46bce..4995a6bd 100644 --- a/layouts/shortcodes/changelog/changelog-changes.html +++ b/layouts/shortcodes/changelog/changelog-changes.html @@ -36,6 +36,7 @@ {{ partial "render-api-changes" (dict "title" "Application Service API" "id" "application-service-api" "path" (path.Join $path "application_service")) }} {{ partial "render-api-changes" (dict "title" "Identity Service API" "id" "identity-service-api" "path" (path.Join $path "identity_service")) }} {{ 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")) }} {{ define "partials/render-api-changes" }}

{{ .title }}

diff --git a/scripts/generate-changelog.sh b/scripts/generate-changelog.sh index 6e2c2f11..4209f4a3 100644 --- a/scripts/generate-changelog.sh +++ b/scripts/generate-changelog.sh @@ -11,7 +11,8 @@ cd changelogs # Pre-cleanup just in case it wasn't done on the last run rm -f rendered.* -# Reversed order so the push gateway ends up on the bottom +# Reversed order so that room versions ends up on the bottom +towncrier --name "Room Versions" --dir "./room_versions" --config "./pyproject.toml" --yes towncrier --name "Push Gateway API" --dir "./push_gateway" --config "./pyproject.toml" --yes towncrier --name "Identity Service API" --dir "./identity_service" --config "./pyproject.toml" --yes towncrier --name "Application Service API" --dir "./application_service" --config "./pyproject.toml" --yes