diff options
| author | Ryan <fauxpark@gmail.com> | 2024-11-12 13:20:56 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-12 02:20:56 +0000 |
| commit | 3d4da6de29c8635c9cd232ce456d8fec8d31921b (patch) | |
| tree | 78539c20838bad7c062eab77e3d2f1e38cc0782c | |
| parent | 9cd789676059f734a1538833cea6940d9c669b48 (diff) | |
[docs] Add "edit this page" link at the bottom (#24585)
| -rw-r--r-- | builddefs/docsgen/.vitepress/config.mts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/builddefs/docsgen/.vitepress/config.mts b/builddefs/docsgen/.vitepress/config.mts index 5beca70634..d2fe2886b2 100644 --- a/builddefs/docsgen/.vitepress/config.mts +++ b/builddefs/docsgen/.vitepress/config.mts | |||
| @@ -39,6 +39,11 @@ export default defineConfig(({ mode }) => { | |||
| 39 | provider: "local", | 39 | provider: "local", |
| 40 | }, | 40 | }, |
| 41 | 41 | ||
| 42 | editLink: { | ||
| 43 | pattern: 'https://github.com/qmk/qmk_firmware/edit/master/docs/:path' | ||
| 44 | }, | ||
| 45 | lastUpdated: true, | ||
| 46 | |||
| 42 | sidebar: sidebar, | 47 | sidebar: sidebar, |
| 43 | 48 | ||
| 44 | externalLinkIcon: true, | 49 | externalLinkIcon: true, |
