Skip to content

Commit cea4495

Browse files
committed
Front matter support for changelog files.
1 parent bb74099 commit cea4495

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

examples/vitepress/apexdocs.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ export default {
3030
previousVersionDir: 'previous',
3131
currentVersionDir: 'force-app',
3232
scope: ['global', 'public', 'protected', 'private', 'namespaceaccessible'],
33+
transformChangeLogPage: () => {
34+
return {
35+
frontmatter: {
36+
title: 'Changelog',
37+
},
38+
};
39+
},
3340
}),
3441
markdown: defineMarkdownConfig({
3542
sourceDir: 'force-app',

examples/vitepress/docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Changelog
3+
---
4+
15
# Changelog
26

37
## New Classes

0 commit comments

Comments
 (0)