feat: refactor ./docs/.vitepress/config.ts

This commit is contained in:
Ryan Yin 2023-07-08 02:33:05 +08:00
parent 966ff53c95
commit ee36a64185

View File

@ -46,6 +46,13 @@ export default defineConfig({
pattern: pattern:
"https://github.com/ryan4yin/nixos-and-flakes-book/edit/main/docs/:path", "https://github.com/ryan4yin/nixos-and-flakes-book/edit/main/docs/:path",
}, },
socialLinks: [
{
icon: "github",
link: "https://github.com/ryan4yin/nixos-and-flakes-book",
},
],
}, },
locales: { locales: {
@ -215,13 +222,6 @@ function themeConfigEnglish() {
], ],
}, },
], ],
socialLinks: [
{
icon: "github",
link: "https://github.com/ryan4yin/nixos-and-flakes-book",
},
],
}, },
}; };
} }
@ -385,13 +385,6 @@ function themeConfigChinese() {
items: [{ text: "常见问题 FAQ", link: "/zh/faq/index.md" }], items: [{ text: "常见问题 FAQ", link: "/zh/faq/index.md" }],
}, },
], ],
socialLinks: [
{
icon: "github",
link: "https://github.com/ryan4yin/nixos-and-flakes-book",
},
],
}, },
}; };
} }