aboutsummaryrefslogtreecommitdiff
path: root/mkdocs.yml
blob: 4aa5610a8858f177ee13c98824fa735ac6506174 (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
site_name: LinuxCabin
site_description: 为中国用户打造的 Linux 手册 | A Linux handbook especially designed for Chinese users.
site_url: https://hb.091209.xyz
repo_name: LinuxCabin/linux-handbook
repo_url: https://github.com/LinuxCabin/linux-handbook
edit_uri: edit/main/docs/

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
    - announce.dismiss

markdown_extensions:
  - admonition
  - pymdownx.details
  - pymdownx.highlight
  - pymdownx.inlinehilite
  - pymdownx.magiclink
  - pymdownx.superfences
  - pymdownx.tabbed
  - pymdownx.tasklist
  - pymdownx.emoji
  - attr_list
  - tables
  - footnotes
  - toc:
      permalink: true

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/input-method.md
    - getting-started/applications.md
    - getting-started/common-command.md
  - 概念:
    - Linux基础:
      - concepts/linux/free_software.md
      - concepts/linux/distro.md
      - concepts/linux/lvm.md
      - concepts/linux/btrfs.md
      - concepts/linux/de.md
      - concepts/linux/wm.md
    - 操作系统:
      - concepts/operating_system/bios.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/operating_system/boot_loader.md
    - 包管理器:
      - concepts/package_managers/apt.md
      - concepts/package_managers/dnf.md
      - concepts/package_managers/pacman.md
      - concepts/package_managers/flatpak.md
  - 发行版:
    - Debian系:
      - distros/debian/ubuntu.md
      - distros/debian/linuxmint.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
  - 桌面:
      - dde/gnome.md
  - 关于: about.md