Browse Source

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

Ryan 1 year ago
parent
commit
3d4da6de29
1 changed files with 5 additions and 0 deletions
  1. 5 0
      builddefs/docsgen/.vitepress/config.mts

+ 5 - 0
builddefs/docsgen/.vitepress/config.mts

@@ -39,6 +39,11 @@ export default defineConfig(({ mode }) => {
                 provider: "local",
             },
 
+            editLink: {
+                pattern: 'https://github.com/qmk/qmk_firmware/edit/master/docs/:path'
+            },
+            lastUpdated: true,
+
             sidebar: sidebar,
 
             externalLinkIcon: true,