diff --git a/docs/.vitepress/en-US.ts b/docs/.vitepress/en-US.ts index d9bbed9..08c49df 100644 --- a/docs/.vitepress/en-US.ts +++ b/docs/.vitepress/en-US.ts @@ -16,7 +16,7 @@ export const enUS = defineConfig({ }, editLink: { - pattern: "https://github.com/LLOneBot/LLOneBotDoc/docs/:path", + pattern: "https://github.com/LLOneBot/LLOneBotDoc/tree/main/docs/:path", text: 'Edit this page on GitHub' } } diff --git a/docs/.vitepress/zh-CN.ts b/docs/.vitepress/zh-CN.ts index 143bda1..33aab17 100644 --- a/docs/.vitepress/zh-CN.ts +++ b/docs/.vitepress/zh-CN.ts @@ -17,7 +17,7 @@ export const zhCN = defineConfig({ }, editLink: { - pattern: 'https://github.com/LLOneBot/LLOneBotDoc/docs/:path', + pattern: 'https://github.com/LLOneBot/LLOneBotDoc/tree/main/docs/:path', text: '在 GitHub 上编辑此页面' },