From ff19cb46f35ca9094f14d5d1243f765222847a2e Mon Sep 17 00:00:00 2001 From: Clas Wen Date: Sun, 30 Mar 2025 17:30:46 +0800 Subject: [PATCH] add edit link and last updated timestamp --- .vitepress/config.mts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index b45e1e5..46977cd 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -22,10 +22,14 @@ export default defineConfig({ }, ...getMeetingMinutesSidebar() ], - + editLink: { + pattern: 'https://github.com/nbtca/documents/edit/main/:path', + text: 'Edit this page on GitHub' + }, socialLinks: [ { icon: 'github', link: 'https://github.com/nbtca/documents' } ] }, - ignoreDeadLinks: true + ignoreDeadLinks: true, + lastUpdated: true, })