-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
60 lines (53 loc) · 1.36 KB
/
mkdocs.yml
File metadata and controls
60 lines (53 loc) · 1.36 KB
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
site_name: 摸鱼精选
edit_uri: https://github.com/calvingit/reading/docs/
site_author: Zhang Wen
copyright: Copyright © 2021 - 2023 Zhang Wen
repo_url: https://github.com/calvingit/reading
nav:
- ...
theme:
language: zh
name: material
include_sidebar: false
highlightjs: true
features:
- navigation.tabs
- navigation.tabs.sticky
- navigation.expand
- navigation.indexes
palette:
# Palette toggle for automatic mode
- media: '(prefers-color-scheme)'
toggle:
icon: material/brightness-auto
name: 浅色
# Palette toggle for light mode
- media: '(prefers-color-scheme: light)'
scheme: default
toggle:
icon: material/brightness-7
name: 暗黑
# Palette toggle for dark mode
- media: '(prefers-color-scheme: dark)'
scheme: slate
toggle:
icon: material/brightness-4
name: 系统
markdown_extensions:
toc:
toc_depth: 0 # 0为隐藏目录
plugins:
- search
- offline
- awesome-pages # pip install mkdocs-awesome-pages-plugin
extra:
social:
- icon: fontawesome/brands/blogger
link: https://blog.zhangwen.site
name: Blog
- icon: fontawesome/brands/github
link: https://github.com/calvingit
name: Github
- icon: fontawesome/brands/twitter
link: https://twitter.com/zhangwen_site
name: Twitter