diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 1b06b4a..2c7546f 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -17,9 +17,13 @@ export default { timeStyle: 'medium' } }, + // editLink: { + // pattern: 'https://github.com/xiaoshuai125/xsinfo/edit/master/docs/:path', + // text: '在 Github 上编辑该文档' + // }, editLink: { - pattern: 'https://github.com/xiaoshuai125/xsinfo/edit/master/docs/:path', - text: '在 Github 上编辑该文档' + pattern: 'https://gitee.com/song_kang_shuai/xsinfo/edit/master/docs/:path', + text: '在 Gitee 上编辑该文档' }, footer: { message: '冀ICP备2025104367号/京公网安备11011502038830号', @@ -57,8 +61,8 @@ export default { ], }, socialLinks: [ - { icon: 'github', link: 'https://github.com/xiaoshuai125' }, { icon: 'gitee', link: 'https://gitee.com/song_kang_shuai' }, + { icon: 'github', link: 'https://github.com/xiaoshuai125' }, ], } } \ No newline at end of file