mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-22 04:51:29 +02:00
feat: refactor ./docs/.vitepress/config.ts
This commit is contained in:
parent
966ff53c95
commit
ee36a64185
@ -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",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user