Skip to content

Commit 174789b

Browse files
Push changelog to the bottom
1 parent 66e2ae5 commit 174789b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.vitepress/config.mts

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ export default async () => {
4949
}
5050
if (sorting.includes(a.text)) return -1
5151
if (sorting.includes(b.text)) return 1
52+
53+
// Push changelog to the bottom
54+
if (a.text === 'Changelog') return 1
55+
if (b.text === 'Changelog') return -1
56+
5257
return a.text.localeCompare(b.text)
5358
}),
5459

0 commit comments

Comments
 (0)