Skip to content

Commit

Permalink
fix:editLink
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Mar 9, 2024
1 parent cd2aa9a commit 3251850
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 上编辑此页面'
},

Expand Down

0 comments on commit 3251850

Please sign in to comment.