From 49717577e274b7d0d4fd3c095ab13555bb9889ec Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Tue, 27 Jun 2023 18:12:22 +0800 Subject: [PATCH] fix: sidebar for English version --- docs/.vitepress/config.ts | 26 ++++++++++++++++++++++++++ docs/development/intro.md | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index b77c5b4..118f888 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -130,6 +130,32 @@ export default defineConfig({ }, ], }, + { + text: "Dev Environemnts on NixOS", + items: [ + { text: "intro", link: "/development/intro.md" }, + { + text: "Dev Environments", + link: "/development/dev-environments.md", + }, + { + text: "Packaging 101", + link: "/development/packaging-101.md", + }, + { + text: "Cross-platform Compilation", + link: "/development/cross-platform-compilation.md", + }, + { + text: "Distribution Building", + link: "/development/distributed-building.md", + }, + { + text: "Kernel Development", + link: "/development/kernel-development.md", + }, + ], + }, { text: "Advanced Topics", items: [ diff --git a/docs/development/intro.md b/docs/development/intro.md index acb42f8..d4abf3b 100644 --- a/docs/development/intro.md +++ b/docs/development/intro.md @@ -1,4 +1,4 @@ -## Development on NixOS +## Dev Environemnts on NixOS Due to the reproducibility of NixOS itself, it is very suitable for building development environments. But if you want to migrate the experience on other distros directly to NixOS, you may encounter problems, because NixOS has its own set of logic, we will explain this briefly below.