Skip to content

Commit e74c7ea

Browse files
committed
chore: update config
1 parent 0a8e201 commit e74c7ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.vitepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ export default defineConfig({
3535
nav,
3636
sidebar,
3737
socialLinks: [{ icon: 'github', link: 'https://github.com/coderhyh/coding-playground' }],
38+
editLink: {
39+
pattern: 'https://github.com/coderhyh/coding-playground/blob/main/:path',
40+
text: '查看源码',
41+
},
3842
search: {
3943
provider: 'local',
4044
},

0 commit comments

Comments
 (0)