Skip to content

Commit

Permalink
init:初始化文档配置
Browse files Browse the repository at this point in the history
  • Loading branch information
jiewenhuang committed Sep 20, 2024
1 parent 6b26637 commit c0e3b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ export default defineConfig({
editLink: {
pattern: ({ filePath }) => {
if (filePath.startsWith('packages/')) {
return `https://github.com/jiewenhuang/halo-theme-joe3.0/docs/docs/${filePath}`
return `https://github.com/jiewenhuang/halo-theme-joe3.0/tree/main/docs/docs/${filePath}`
} else {
return `https://github.com/jiewenhuang/halo-theme-joe3.0/docs/docs/${filePath}`
return `https://github.com/jiewenhuang/halo-theme-joe3.0/tree/main/docs/docs/${filePath}`
}
}
}
Expand Down

0 comments on commit c0e3b0f

Please sign in to comment.