mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-02-16 18:30:55 +01:00
feat: refactor ./docs/.vitepress/config.ts
This commit is contained in:
parent
966ff53c95
commit
ee36a64185
@ -46,6 +46,13 @@ export default defineConfig({
|
||||
pattern:
|
||||
"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: {
|
||||
@ -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" }],
|
||||
},
|
||||
],
|
||||
|
||||
socialLinks: [
|
||||
{
|
||||
icon: "github",
|
||||
link: "https://github.com/ryan4yin/nixos-and-flakes-book",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user