Skip to content

Commit

Permalink
fix: set editLink & socialLinks
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackishGreen33 committed Mar 25, 2024
1 parent a6cab50 commit d2b3336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default defineConfig({
},
outline: [1, 6],
editLink: {
pattern: "https://github.com/",
pattern: "https://github.com/Muxi-Studio/101/edit/main/docs/:path",
text: "在 GitHub 上编辑此页",
},
externalLinkIcon: true,
Expand All @@ -45,7 +45,7 @@ export default defineConfig({
},
},
socialLinks: [
{ icon: "github", link: "https://github.com/vuejs/vitepress" },
{ icon: "github", link: "https://muxi-studio.github.io/101/" },
],
nav: [
{ text: "前端", link: "/fe/" },
Expand Down

0 comments on commit d2b3336

Please sign in to comment.