aboutsummaryrefslogtreecommitdiff
path: root/mkdocs.yml
blob: 31d70fd5b86001f9c50778e426859bb6ea5d9e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
site_name: LinuxCabin
site_description: 为中国用户打造的 Linux 手册 | A Linux handbook especially designed for Chinese users.
site_url: https://hb.linuxcabin.top
repo_name: LinuxCabin/linux-handbook
repo_url: https://codeberg.org/LinuxCabin/linux-handbook
edit_uri: edit/main/docs/

validation:
  nav:
    omitted_files: info

strict: true

theme:
  name: material
  custom_dir: overrides
  language: zh
  palette:
    - scheme: default
      primary: teal
      accent: green
      toggle:
        icon: material/brightness-7
        name: 夜间模式
    - scheme: slate
      primary: black
      accent: teal
      toggle:
        icon: material/brightness-4
        name: 日间模式
  icon:
    logo: material/book-open-page-variant
    repo: fontawesome/brands/github
    edit: material/pencil
    view: material/eye
  features:
    - navigation.footer
    - navigation.tabs
    - navigation.tabs.sticky
    - navigation.top
    - navigation.indexes
    - toc.integrate
    - search.suggest
    - search.highlight
    - search.share
    - content.action.edit
    - content.action.view
    - content.code.copy
    - content.tooltips
    - content.footnote.tooltips
    - announce.dismiss

markdown_extensions:
  - admonition
  - pymdownx.details
  - pymdownx.highlight
  - pymdownx.inlinehilite
  - pymdownx.snippets
  - pymdownx.magiclink
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
  - pymdownx.tabbed
  - pymdownx.tasklist
  - pymdownx.emoji
  - attr_list
  - tables
  - footnotes
  - md_in_html
  - toc:
      permalink: true

extra_javascript:
  - assets/js/wiki_hover.js
extra_css:
  - assets/css/tippy.css

plugins:
  - search:
      lang: zh
      separator: '[\s\-,。]+'
  - git-revision-date-localized:
      type: datetime
      locale: zh
      fallback_to_build_date: true
#  - git-committers:
#      repository: LinuxCabin/linux-handbook
#      branch: main
#      token: !ENV DEPLOY_KEY
  - minify:
      minify_html: true
      minify_css: true
      minify_js: true

copyright: |
  Licensed under <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International</a><img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt="" style="max-width: 1em;max-height:1em;margin-left: .2em;"><img src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt="" style="max-width: 1em;max-height:1em;margin-left: .2em;"><img src="https://mirrors.creativecommons.org/presskit/icons/nc.svg" alt="" style="max-width: 1em;max-height:1em;margin-left: .2em;"><img src="https://mirrors.creativecommons.org/presskit/icons/nd.svg" alt="" style="max-width: 1em;max-height:1em;margin-left: .2em;">

nav:
  - 主页: index.md
  - 开始:
    - getting-started/purpose.md
    - getting-started/before-installing.md
    - getting-started/install.md
    - getting-started/post-installation.md
    - 设备支持:
      - getting-started/devices/drivers.md
      - getting-started/devices/others.md
    - getting-started/input-method.md
    - getting-started/applications.md
    - getting-started/common-command.md
    - getting-started/network.md
  - 概念:
    - Linux基础:
      - concepts/linux/free_software.md
      - concepts/linux/distro.md
      - concepts/linux/mirrors.md
      - concepts/linux/shell.md
      - concepts/linux/rolling_update.md
    - 操作系统:
      - concepts/operating_system/bios.md
      - concepts/operating_system/secure_boot.md
      - concepts/operating_system/boot_loader.md
      - concepts/operating_system/disk_partition_table.md
      - concepts/operating_system/partition.md
      - concepts/operating_system/file_system.md
      - concepts/operating_system/mounting.md
    - 包管理:
      - concepts/package_managers/apt.md
      - concepts/package_managers/dnf.md
      - concepts/package_managers/pacman.md
      - concepts/package_managers/flatpak.md
      - concepts/package_managers/appimage.md
  - 发行版:
    - distros/distro.md
    - Debian系:
      - distros/debian/graph.md
      - distros/debian/debian.md
      - distros/debian/ubuntu.md
      - distros/debian/linuxmint.md
      - distros/debian/deepin.md
    - 红帽系:
      - distros/rhel/graph.md
      - distros/rhel/fedora.md
      - distros/rhel/rhel.md
      - distros/rhel/rocky.md
      - distros/rhel/almalinux.md
    - Arch系:
      - distros/arch/archlinux.md
      - distros/arch/artixlinux.md
      - distros/arch/cachy.md
    - distros/nixos.md
    - distros/gentoo.md
  - 桌面:
    - 首页: desktop/desktop.md
    - 桌面环境:
      - desktop/de/kde.md
      - desktop/de/gnome.md
      - desktop/de/xfce.md
    - 窗口管理器:
      - desktop/wm/hyprland.md
      - desktop/wm/niri.md
      - desktop/wm/i3.md
      - desktop/wm/sway.md
  - 兼容性:
    - Win & Linux:
      - compatibility/windows/wine.md
      - compatibility/windows/steam.md
    - 跨发行版:
      - compatibility/inter-distros/distrobox.md
  - 应用与工具:
    - applications/emacs.md
    - applications/vim.md
    - applications/zsh.md
    - applications/fish.md
    - applications/ssh.md
    - applications/git.md
    - applications/openclaw.md
    - 开发相关:
      - applications/programming/cpp.md
      - applications/programming/python.md
      - applications/programming/miniconda.md
      - applications/programming/vscode.md
  - 进阶:
    - advanced/lvm.md
    - advanced/btrfs.md
    - advanced/boot_loader.md
  - 关于: about.md