-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
77 lines (73 loc) · 2 KB
/
mkdocs.yml
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
# https://squidfunk.github.io/mkdocs-material/setup/
site_name: monolite
site_url: https://puiching-memory.github.io/monolite/
theme:
name: material
features:
- navigation.footer
- navigation.instant.progress
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.expand
- navigation.prune
- navigation.indexes
- toc.follow
- navigation.top
language: zh # 默认语言
palette:
# 调色板依据系统主题自动设置
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
primary: indigo # 主色调
# 调色板切换为亮色模式
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
primary: indigo # 主色调
# 调色板切换为暗色模式
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
primary: indigo # 主色调
nav: # 默认路由
- 主页: index.md
- 安装: install.md
- 使用手册: usage.md
- 开发文档: dev.md
plugins: # 插件
- search
- git-authors
- i18n:
docs_structure: folder
reconfigure_material: true
reconfigure_search: true
languages:
- locale: en
name: English
build: true
nav_translations:
主页: Home
安装: Install
使用手册: Usage
开发文档: dev
- locale: zh
name: 中文
build: true
default: true
- git-revision-date-localized:
enable_creation_date: true
fallback_to_build_date: true
extra:
social: # 底端额外链接
- icon: fontawesome/brands/github
link: https://github.com/Puiching-Memory/
repo_url: https://github.com/Puiching-Memory/monolite # github状态标签
repo_name: Puiching-Memory/monolite