aboutsummaryrefslogtreecommitdiff
path: root/mkdocs.yml
blob: 10dff204ec6a3c6070fcfe6df5c12efc16449ba7 (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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
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:
      - media: "(prefers-color-scheme)"
        scheme: default
        primary: blue
        accent: light blue
        toggle:
          icon: material/brightness-auto
          name: 切换亮色模式

      - media: "(prefers-color-scheme: light)"
        scheme: default
        primary: blue
        accent: light blue
        toggle:
          icon: material/brightness-7
          name: 切换暗色模式

      - media: "(prefers-color-scheme: dark)"
        scheme: slate
        primary: blue
        accent: light blue
        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
  - assets/css/stylesheets/extra.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-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 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/sa.svg" alt="" style="max-width: 1em;max-height:1em;margin-left: .2em;">

nav:
  - 主页: index.md
  - 开始:
    - getting-started/purpose.md
    - getting-started/os-basis.md
    - getting-started/before-installing.md
    - getting-started/install.md
    - 详细安装过程:
      - getting-started/installation-by-distro/debian.md
      - getting-started/installation-by-distro/fedora.md
    - getting-started/post-installation.md
    - 设备支持:
      - getting-started/devices/drivers.md
      - getting-started/devices/others.md
      - getting-started/devices/mac.md
    - getting-started/input-method.md
    - getting-started/common-command.md
    - getting-started/network.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:
      - Wine及其衍生物:
        - compatibility/windows/wine/wine.md
        - compatibility/windows/wine/bottles.md
        - compatibility/windows/wine/steam.md
        - 软件列表:
          - compatibility/windows/wine/adobe_on_wine.md
      - compatibility/windows/vm.md
    - 跨发行版:
      - compatibility/inter-distros/distrobox.md
  - 应用与工具:
    - applications/apps.md
    - 即时通讯:
      - applications/im/qq.md
      - applications/im/wechat.md
      - applications/im/matrix.md
    - 办公与协作:
      - applications/office/dingtalk.md
      - applications/office/feishu.md
      - applications/office/libreoffice.md
      - applications/office/onlyoffice.md
      - applications/office/wps.md
    - 娱乐:
      - applications/entertainment/qqmusic.md
      - applications/entertainment/ncm.md
      - applications/entertainment/tencent.md
      - applications/entertainment/iqiyi.md
    - 编辑器:
      - applications/editors/nano.md
      - applications/editors/emacs.md
      - applications/editors/vim.md
      - applications/editors/vscode.md
    - 多媒体处理:
      - applications/multimedia/gimp.md
      - applications/multimedia/krita.md
      - applications/multimedia/obs_studio.md
      - applications/multimedia/kdenlive.md
      - applications/multimedia/davinci.md
      - applications/multimedia/vlc.md
      - applications/multimedia/others.md
    - 编程与开发:
      - applications/programming/git.md
      - applications/programming/ssh.md
      - applications/programming/python.md
      - applications/programming/miniconda.md
      - applications/programming/cpp.md
    - 工程制图:
      - applications/cad/zwcad.md
      - applications/cad/freecad.md
      - applications/cad/openscad.md
    - AI:
      - applications/ai/openclaw.md
      - applications/ai/opencode.md
    - Shell:
      - applications/shell/shell.md
      - applications/shell/bash.md
      - applications/shell/zsh.md
      - applications/shell/fish.md
    - 系统维护:
      - applications/maintenance/gparted.md
    - 其他:
      - applications/other/fastfetch.md
  - 进阶:
    - advanced/lvm.md
    - Btrfs:
      - advanced/btrfs/btrfs.md
      - advanced/btrfs/linux_on_btrfs.md
      - advanced/btrfs/migrating_to_btrfs.md
    - advanced/swap.md
    - advanced/boot_loader.md
    - 命令:
      - advanced/command/dd.md
  - 关于: about.md