Skip to content

Commit 1484735

Browse files
committed
fix: edit this page link is missing
- see https://vitepress.dev/reference/default-theme-edit-link#edit-link for implementation details - closes #1003
1 parent 88999f9 commit 1484735

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

main/.vitepress/config.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,11 @@ export default defineConfig({
473473
docsDir: 'main',
474474
// if your docs are in a specific branch (defaults to 'master'):
475475
docsBranch: 'main',
476-
// defaults to false, set to true to enable
477-
editLinks: true,
478476
// custom text for edit link. Defaults to "Edit this page"
479-
editLinkText: 'Help us improve this page!',
477+
editLink: {
478+
pattern: 'https://github.com/Agoric/documentation/edit/main/main/:path',
479+
text: 'Help us improve this page!',
480+
},
480481

481482
zoeVersion: 'v0.24.0',
482483
zoeDocsUpdated: 'August 25, 2022',

0 commit comments

Comments
 (0)