-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
229 lines (220 loc) · 5.93 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
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
site_name: Material Design for MyNotes
site_description: 'A Material Design theme for MyNotes'
site_author: 'Black-Gold'
site_url: https://19950128.com/
# Repository
remote_branch: gh-pages
remote_name: origin
repo_name: 'Black-Gold/MyNotes'
repo_url: 'https://github.com/Black-Gold/MyNotes'
# Configuration
theme:
name: material
language: zh
logo: images/logo.png
favicon: images/favicon.png
icon:
repo: fontawesome/brands/github-alt
menu: material/menu
search: material/text-search
share: material/share
close: material/close-outline
top: material/bomb
previous: fontawesome/solid/angle-left
next: fontawesome/solid/angle-right
annotation: material/comment-eye
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: 'green'
accent: 'lime'
toggle:
icon: material/weather-night
name: 切换到夜晚模式
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: 'blue grey'
accent: 'light green'
toggle:
icon: material/weather-sunny
name: 切换到白天模式
font:
text: 'Open Sans'
code: 'Fira Code'
features:
- navigation.indexes
- navigation.instant
- navigation.instant.progress
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.path
- navigation.prune
- navigation.top
- navigation.footer
- search.highlight
- search.suggest
- search.share
- content.code.copy
- content.code.select
- content.code.annotate
- content.tabs.link
- content.footnote.tooltips
plugins:
- search:
lang:
- en
- zh
- blog:
post_date_format: yyyy-MM-dd
post_readtime: true
post_readtime_words_per_minute: 217
draft: false # 构建时不渲染草稿
# 需要使用GitHub API,需要配置token,构建时再启用,方便预览
# - git-authors
# - git-committers:
# repository: Black-Gold/MyNotes
# branch: gh-pages
# 构建时启用: CI=true mkdocs build,实验性功能暂不能用
# - group:
# enabled: !ENV CI
# plugins:
# - git-authors
# - git-committers:
# repository: Black-Gold/MyNotes
# branch: gh-pages
# Extensions
markdown_extensions:
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
auto_title: true
# linenums: true # 启用则将所有代码块默认都加上行号
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
extra:
analytics:
# provider: google
# property: 'G-xxx'
feedback:
title: 此页面是否有帮助?
ratings:
- icon: material/thumb-up-outline
name: 有帮助
data: 1
note: >-
感谢您的点赞!
- icon: material/thumb-down-outline
name: 没帮助
data: 0
note: >-
感谢您真诚的反馈! Help me improve this page by
using our <a href="..." target="_blank" rel="noopener">feedback form</a>.
social:
- icon: fontawesome/brands/github
link: https://github.com/Black-Gold
- icon: fontawesome/brands/instagram
link: https://www.instagram.com/black0gold/
# extra_css:
# - stylesheets/extra.css'
# extra_javascript:
# - javascripts/extra.js'
# Page tree
nav:
- Home: index.md
- md语法中文参考: reference-example.md
- Blog:
- blog/index.md
- System:
- system/index.md
- Centos: system/linux/Centos.md
- DebianDistros:
- Debian: system/linux/Debian.md
- Ubuntu: system/linux/Ubuntu.md
- Networking: system/Networking.md
- Firewall: system/Firewall.md
- Windows: system/Windows.md
- Programming:
- coding/index.md
- Git: coding/Git.md
- Regex: coding/Regex.md
- Shell: coding/Shell.md
- Python3: coding/Python3.md
- Vim: coding/Vim.md
- Document:
- document/index.md
- WebServer:
- Nginx: web/Nginx.md
- Apache: web/Apache.md
- 负载均衡与高可用:
- LVS-Keepalived: lbha/LVS.md
- HAProxy-Keepalived: lbha/Haproxy.md
- 云原生:
- Docker: cloud-native/Docker.md
- Kubernetes: cloud-native/Kubernetes.md
- Knative: cloud-native/Knative.md
- Serverless: cloud-native/Serverless.md
- CI/CD:
- Jenkins: cicd/Jenkins.md
- 自动化:
- Ansible: automation/Ansible.md
- 监控:
- Prometheus: monitor/Prometheus.md
- Grafana: monitor/Grafana.md
- ELKStack: monitor/Elk.md
- Zabbix: monitor/Zabbix.md
- Monitors: monitor/Monitors.md
- 数据库:
- MySQL: database/MySQL.md
- MariaDB: database/MariaDB.md
- Redis: database/Redis.md
- MongoDB: database/MongoDB.md
- 缓存:
- Varnish: cache/Varnish.md
- Squid: cache/Squid.md
- 存储:
- Ceph: storage/Ceph.md
- GlusterFS: storage/GlusterFS.md
- 安全:
- IAM: security/IAM.md
- 中间件:
- Kafka: middleware/Kafka.md
- RocketMQ: middleware/RocketMQ.md
- hardware:
- Cisco: hardware/Cisco.md