Skip to content

Commit 55ebb3d

Browse files
yangshuncursoragent
andcommitted
docs: enable edit links and last updated times
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 6167ee3 commit 55ebb3d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎docs/.vitepress/config.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ export default extendConfig(
170170
title: 'Void',
171171
description: 'Build with Vite. Deploy with Void.',
172172
cleanUrls: true,
173+
lastUpdated: true,
173174
sitemap: {
174175
hostname: 'https://void.cloud',
175176
},
@@ -190,6 +191,11 @@ export default extendConfig(
190191
},
191192

192193
themeConfig: {
194+
editLink: {
195+
pattern: 'https://github.com/voidzero-dev/void/edit/main/docs/:path',
196+
text: 'Suggest changes to this page',
197+
},
198+
193199
search: {
194200
provider: 'local',
195201
},

0 commit comments

Comments
 (0)