Skip to content

Commit

Permalink
Merge pull request #25 from NixOS-CN/nixos-manual
Browse files Browse the repository at this point in the history
fix: add nixos manual into sidebar
  • Loading branch information
ryan4yin authored Mar 26, 2024
2 parents 02f1933 + 0c1d21d commit 9e55e44
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
12 changes: 11 additions & 1 deletion src/.vuepress/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,15 @@ export default sidebar([
children: [
"haskell"
],
}
},
{
text: "NixOS 使用手册",
icon: "nix",
prefix: "/manual/",
collapsible: false,
children: [
"Intro",
"Configuration"
],
},
]);
4 changes: 2 additions & 2 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ actions:
link: /tutorials/installation/
type: primary

- text: 手册
- text: NixOS 使用手册
link: /manual/

features:
Expand All @@ -33,4 +33,4 @@ features:
icon: safe
details: 支持沙盒化和同时安装多个版本的软件包

---
---
9 changes: 4 additions & 5 deletions src/manual/configuration.md → src/manual/Configuration.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
shortTitle: 配置
icon: modules
---
# NixOS 配置

# 配置
::: warning 内容施工中
本节内容正在修缮中,当前内容可能已经过时,仅供参考。
:::

## 包管理

Expand Down
6 changes: 5 additions & 1 deletion src/manual/README.md → src/manual/Intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 渐进式学习
# NixOS 入门

::: warning 内容施工中
本节内容正在修缮中,当前内容可能已经过时,仅供参考。
:::

## 何谓 nix-channel

Expand Down

0 comments on commit 9e55e44

Please sign in to comment.