From 55ebb3dc48ddeff4867dc648efab003f1b2caa8f Mon Sep 17 00:00:00 2001 From: Yangshun Date: Tue, 10 Nov 2026 13:31:27 +0800 Subject: [PATCH] docs: enable edit links and last updated times Co-authored-by: Cursor --- docs/.vitepress/config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index be0dd5295..4ef900dbb 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -170,6 +170,7 @@ export default extendConfig( title: 'Void', description: 'Build with Vite. Deploy with Void.', cleanUrls: true, + lastUpdated: true, sitemap: { hostname: 'https://void.cloud', }, @@ -190,6 +191,11 @@ export default extendConfig( }, themeConfig: { + editLink: { + pattern: 'https://github.com/voidzero-dev/void/edit/main/docs/:path', + text: 'Suggest changes to this page', + }, + search: { provider: 'local', },