Skip to content

Commit

Permalink
Add an "internal changes" changelog section (matrix-org#1194)
Browse files Browse the repository at this point in the history
* Add an "internal changes" changelog section

* update changelog number
  • Loading branch information
turt2live authored Aug 3, 2022
1 parent b36d4ef commit 569e139
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
Empty file.
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/1194.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add internal changes changelog section.
1 change: 1 addition & 0 deletions layouts/shortcodes/changelog/changelog-changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ <h2 id=api-changes>Changes since last release</h2>
{{ 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" }}
<h3 id="{{.id}}">{{ .title }}</h3>
Expand Down
1 change: 1 addition & 0 deletions scripts/generate-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 569e139

Please sign in to comment.