feat: minor changes of sidebar

This commit is contained in:
Ryan Yin 2023-06-28 18:12:58 +08:00
parent 9bd39f9fd1
commit 32457fc466

View file

@ -133,7 +133,7 @@ export default defineConfig({
{ {
text: "Dev Environemnts on NixOS", text: "Dev Environemnts on NixOS",
items: [ items: [
{ text: "intro", link: "/development/intro.md" }, { text: "Introduction", link: "/development/intro.md" },
{ {
text: "Dev Environments", text: "Dev Environments",
link: "/development/dev-environments.md", link: "/development/dev-environments.md",
@ -158,9 +158,7 @@ export default defineConfig({
}, },
{ {
text: "Advanced Topics", text: "Advanced Topics",
items: [ items: [{ text: "Links", link: "/advanced-topics/index.md" }],
{ text: "Introduction", link: "/advanced-topics/index.md" },
],
}, },
], ],
@ -249,7 +247,7 @@ export default defineConfig({
{ {
text: "Nixpkgs 高级用法", text: "Nixpkgs 高级用法",
items: [ items: [
{ text: "", link: "/zh/nixpkgs/intro.md" }, { text: "介", link: "/zh/nixpkgs/intro.md" },
{ text: "callPackage", link: "/zh/nixpkgs/callpackage.md" }, { text: "callPackage", link: "/zh/nixpkgs/callpackage.md" },
{ text: "Overridding", link: "/zh/nixpkgs/overriding.md" }, { text: "Overridding", link: "/zh/nixpkgs/overriding.md" },
{ text: "Overlays", link: "/zh/nixpkgs/overlays.md" }, { text: "Overlays", link: "/zh/nixpkgs/overlays.md" },
@ -276,7 +274,7 @@ export default defineConfig({
{ {
text: "Flakes 的其他玩法", text: "Flakes 的其他玩法",
items: [ items: [
{ text: "", link: "/zh/other-usage-of-flakes/intro.md" }, { text: "介", link: "/zh/other-usage-of-flakes/intro.md" },
{ {
text: "Flake Inputs", text: "Flake Inputs",
link: "/zh/other-usage-of-flakes/inputs.md", link: "/zh/other-usage-of-flakes/inputs.md",
@ -294,7 +292,7 @@ export default defineConfig({
{ {
text: "在 NixOS 上进行开发工作", text: "在 NixOS 上进行开发工作",
items: [ items: [
{ text: "", link: "/zh/development/intro.md" }, { text: "介", link: "/zh/development/intro.md" },
{ {
text: "各语言的开发环境", text: "各语言的开发环境",
link: "/zh/development/dev-environments.md", link: "/zh/development/dev-environments.md",
@ -319,7 +317,7 @@ export default defineConfig({
}, },
{ {
text: "其他进阶话题", text: "其他进阶话题",
items: [{ text: "", link: "/zh/advanced-topics/index.md" }], items: [{ text: "介", link: "/zh/advanced-topics/index.md" }],
}, },
], ],