3d4da6de29c8635c9cd232ce456d8fec8d31921b

Author
Ryan <fauxpark@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

[docs] Add "edit this page" link at the bottom (#24585)

Diff

 1diff --git a/builddefs/docsgen/.vitepress/config.mts b/builddefs/docsgen/.vitepress/config.mts
 2index 5beca70634e32521ad1502fcdc8a9bbc1f641f7f..d2fe2886b213a1527e1686c18c7d61645476155f 100644
 3--- a/builddefs/docsgen/.vitepress/config.mts
 4+++ b/builddefs/docsgen/.vitepress/config.mts
 5@@ -39,6 +39,11 @@ export default defineConfig(({ mode }) => {
 6                 provider: "local",
 7             },
 8 
 9+            editLink: {
10+                pattern: 'https://github.com/qmk/qmk_firmware/edit/master/docs/:path'
11+            },
12+            lastUpdated: true,
13+
14             sidebar: sidebar,
15 
16             externalLinkIcon: true,