diff --git a/docs/.vitepress/config/theme.ts b/docs/.vitepress/config/theme.ts index d179e60ab..ba7e27467 100644 --- a/docs/.vitepress/config/theme.ts +++ b/docs/.vitepress/config/theme.ts @@ -27,7 +27,19 @@ export const themeConfig: DefaultTheme.Config = { }, // 导航栏右侧社交链接配置 socialLinks: [ - { icon: 'github', link: 'https://github.com/Charles7c/charles7c.github.io' } + { icon: 'github', link: 'https://github.com/Charles7c/charles7c.github.io' }, + { + icon: { + svg: '码云' + }, + link: 'https://gitee.com/Charles7c/charles7c' + }, + { + icon: { + svg: '查尔斯的网址导航' + }, + link: 'https://nav.charles7c.top' + } ], // 自定义扩展: 页脚配置 diff --git a/package.json b/package.json index 565214cc2..8561a267e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "devDependencies": { "unplugin-vue-components": "0.22.0", - "vitepress": "^1.0.0-alpha.4", + "vitepress": "^1.0.0-alpha.5", "vue": "^3.2.37" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index 98f12c467..70af7467a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2038,10 +2038,10 @@ vite@^2.9.7: optionalDependencies: fsevents "~2.3.2" -vitepress@^1.0.0-alpha.4: - version "1.0.0-alpha.4" - resolved "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-alpha.4.tgz#2d9929e2cade3d98f57f61848c01968fb386cee0" - integrity sha512-bOAA4KW6vYGlkbcrPLZLTKWTgXVroObU+o9xj9EENyEl6yg26WWvfN7DGA4BftjdM5O8nR93Z5khPQ3W/tFE7Q== +vitepress@^1.0.0-alpha.5: + version "1.0.0-alpha.5" + resolved "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-alpha.5.tgz#eb7acfe61c74ed7bfe02882d2a83c033cce8282f" + integrity sha512-bhUfmTzd+i5fm2rInBR1Q/1RBhT0xTXM+vPqVWJdHmIc8XnWF/O7lT6kai38rOTNTt/KyPDk2SRRourPVhQJMA== dependencies: "@docsearch/css" "^3.0.0" "@docsearch/js" "^3.0.0"