diff --git a/src/.vitepress/config.ts b/src/.vitepress/config.ts index e57a8a31ba..45d33277fb 100644 --- a/src/.vitepress/config.ts +++ b/src/.vitepress/config.ts @@ -33,6 +33,10 @@ export default defineConfig({ themeConfig: { sidebar, nav, + editLink: { + pattern: 'https://github.com/fyhhub/fyhhub.github.io/tree/main/src/:path', + text: '编辑此页面' + }, search: { provider: 'local', options: {