Skip to content

Commit 6874ac3

Browse files
authored
Merge pull request #3834 from hey-api/docs/spotlight-fix
docs: fix spotlight
2 parents 22b967e + 8ac5c9f commit 6874ac3

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

scripts/changelog/release-notes.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,17 @@ function formatReleaseNotes(release: Release, contributors: Array<Contributor>):
3636

3737
try {
3838
const content = fs.readFileSync(SPOTLIGHT_PATH, 'utf-8').trim();
39-
if (content) lines.push(content, '---', '');
39+
if (content)
40+
lines.push(
41+
'## Spotlight',
42+
'',
43+
content,
44+
'',
45+
'[Contribute →](https://heyapi.dev/openapi-ts/community/contributing)',
46+
'',
47+
'---',
48+
'',
49+
);
4050
} catch {
4151
// noop
4252
}

0 commit comments

Comments
 (0)