Skip to content

Commit 631c5e9

Browse files
committed
Update changelog.py
1 parent e2283b0 commit 631c5e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_tools/changelog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def render_contributors(prs: list, fmt: str = "rst"):
118118
"""Find unique authors and print a list in given format."""
119119
authors = sorted({pr["user"]["login"] for pr in prs}, key=lambda x: x.lower())
120120

121-
header = "Contributors"
121+
header = "All Contributors"
122122
if fmt == "github":
123123
print(f"### {header}")
124124
print(", ".join(f"@{user}" for user in authors))
@@ -166,7 +166,7 @@ def render_changelog(prs, assigned):
166166
for title, _ in assigned.items():
167167
pr_group = [prs[i] for i in assigned[title]]
168168
if pr_group:
169-
print(f"\n## {title}\n")
169+
print(f"\n### {title}\n")
170170

171171
for pr in sorted(pr_group, key=lambda x: parser.parse(x["merged_at"])):
172172
render_row(pr)

0 commit comments

Comments
 (0)