-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
277 lines (263 loc) · 8.59 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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
# 站点配置
site_name: Dwj's Wiki
site_url: https://wiki.dwj601.cn/
repo_url: https://github.com/Explorer-Dong/explorer-dong.github.io
repo_name: explorer-dong.github.io
edit_uri: edit/main/docs/
# 主题配置
theme:
name: material
language: zh
custom_dir: overrides
# 图标
logo: https://dwj-oss.oss-cn-nanjing.aliyuncs.com/web-imgs/img-static/wiki-16px.svg
favicon: https://dwj-oss.oss-cn-nanjing.aliyuncs.com/web-imgs/img-static/wiki-16px.svg
icon:
repo: fontawesome/brands/github
edit: material/pencil
view: material/eye
# 颜色
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: 切换到亮色模式
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
toggle:
icon: material/brightness-7
name: 切换到暗色模式
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black # 控件颜色
toggle:
icon: material/brightness-4
name: 切换到自动模式
features:
# - header.autohide # 自动隐藏页面头部
- navigation.tabs # 顶部一级分类导航栏
- navigation.tabs.sticky # 固定顶部一级分类导航栏
# - navigation.sections # 分类页小标题
# - navigation.expand # 分类页默认展开(一般与 navigation.sections 一起使用)
- navigation.indexes # 不显示分类索引首页
- navigation.top # 顶部导航栏
- navigation.footer # 页脚
- content.code.copy # 代码块复制按钮
- content.code.select # 代码块选中行
- content.tooltips # 内容悬浮提示
- content.action.edit # 编辑源文件按钮
- content.action.view # 查看源文件按钮
- search.highlight # 搜索结果高亮
- search.share # 社交分享按钮
- search.suggest # 搜索建议
- toc.follow # 目录跟随滚动(需要 markdown_extensions.toc.permalink 开启)
- announce.dismiss # 支持手动关闭公告
# md 语法扩展
markdown_extensions:
# 并列嵌套(需要和 superfences 一起使用)
- pymdownx.tabbed:
alternate_style: true
# 悬浮提示
- abbr
- attr_list
- pymdownx.snippets
# 折叠块
- pymdownx.details
# 内容框
- admonition
# 脚注
- footnotes
# 目录
- toc:
permalink: true # 显示标题链接
toc_depth: 4 # 显示目录深度
title: 文章目录 # 目录标题
permalink_title: 页面定位 # 链接标题
slugify: !!python/name:pymdownx.slugs.uslugify # 禁止重写标题,借鉴 oi-wiki 的配置
# 数学公式
- pymdownx.arithmatex:
generic: true
# 表情符号
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
# mermaid
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
# 图表标题
- pymdownx.blocks.caption:
types:
- caption
# 自动编号
- name: fc # figure caption
prefix: '图 {}. '
- name: tc # table caption
prefix: '表 {}. '
# 代码高亮
- pymdownx.highlight:
# auto_title: true # 自动标题
use_pygments: true # 第三方库增强
pygments_lang_class: true # 语言定制化高亮
linenums: true # 显示行号
anchor_linenums: true # 行号锚点
line_spans: __span # 行号容器(移动端适配)
# 任务列表
- pymdownx.tasklist:
custom_checkbox: true
# 注入
extra_javascript:
# KaTeX
- injects/javascripts/katex.js
- https://unpkg.com/katex@0/dist/katex.min.js
- https://unpkg.com/katex@0/dist/contrib/auto-render.min.js
# 外链跳转
- injects/javascripts/link_blank.js
# 百度统计
- injects/javascripts/baidu_tongji.js
extra_css:
# KaTeX
- https://unpkg.com/katex@0/dist/katex.min.css
# 自定义样式
- injects/stylesheets/extra.css
# 插件配置
plugins:
# 搜索功能
- search:
lang: zh
# 显示文章创建和修改时间
- git-revision-date-localized:
enable_creation_date: true
type: date
# 显示文章作者(头像与 GitHub Profile 链接)
- git-committers:
repository: Explorer-Dong/explorer-dong.github.io
branch: main
# 图片可点击放大
- glightbox:
auto_caption: true
# meta 配置
- meta
# 页面导航
nav:
- index.md
- 绩点:
- GPA/index.md
- 1st-term:
- GPA/1st-term/AdvancedMath.md
- 2nd-term:
- GPA/2nd-term/ObjectOrientedProgramming.md
- 3rd-term:
- GPA/3rd-term/DS&Algo.md
- GPA/3rd-term/LinearAlgebra.md
- GPA/3rd-term/DigitalLogicCircuit.md
- GPA/3rd-term/CollegePhysics_2.md
- 4th-term:
- GPA/4th-term/SysBasic.md
- GPA/4th-term/MachineLearning.md
- GPA/4th-term/OptMethod.md
- GPA/4th-term/ProbAndStat.md
- GPA/4th-term/PyAlgo.md
- GPA/4th-term/PyApply.md
- 5th-term:
- GPA/5th-term/OperatingSystem.md
- GPA/5th-term/ComputerOrganization.md
- GPA/5th-term/DataMining.md
- GPA/5th-term/DeepLearning.md
- GPA/5th-term/DigitalImageProcessing.md
- GPA/5th-term/DataBase.md
- 6th-term:
- GPA/6th-term/ComputerNetwork.md
- GPA/6th-term/ComputerVision.md
- GPA/6th-term/NaturalLanguageProcessing.md
- GPA/6th-term/SpeechRecognition.md
- GPA/6th-term/SmartEducation.md
- 炼丹:
- DataScience/index.md
- DataScience/matplotlib-basic.md
- DataScience/numpy-basic.md
- 算法:
- Algorithm/index.md
- Algorithm/templates.md
- Algorithm/basic-algo.md
- Algorithm/basic-ds.md
- Algorithm/advanced-algo.md
- Algorithm/advanced-ds.md
- 前端:
- FrontEnd/index.md
- HTML:
- FrontEnd/HTML/html-basic.md
- CSS:
- FrontEnd/CSS/css-basic.md
- JavaScript:
- FrontEnd/JavaScript/javascript-basic.md
- Hexo:
- FrontEnd/Hexo/build-your-own-website-with-hexo.md
- FrontEnd/Hexo/hexo-deployment.md
- FrontEnd/Hexo/hexo-enhancement.md
- 后端:
- BackEnd/index.md
- C++:
- BackEnd/CPlusPlus/cpp-basic.md
- Crow:
- BackEnd/CPlusPlus/Crow/crow-basic.md
- Python:
- BackEnd/Python/python-basic.md
- Flask:
- BackEnd/Python/Flask/deploy-flask.md
- 数据库:
- BackEnd/DataBase/database-basic.md
- MySQL:
- BackEnd/DataBase/MySQL/mysql-basic.md
- BackEnd/DataBase/MySQL/solve-mysql-problems.md
- openGauss:
- BackEnd/DataBase/openGauss/opengauss-basic.md
- BackEnd/DataBase/openGauss/opengauss-remote-connect.md
- BackEnd/DataBase/openGauss/opengauss-import-data.md
- 运维:
- Operation/index.md
- Nginx:
- Operation/Nginx/nginx-basic.md
- Operation/Nginx/nginx-command.md
- Operation/Nginx/solve-nginx-reload-error.md
- Operation/Nginx/whereis-nginx.md
- Safe:
- Operation/Safe/solve-server-invade.md
- Shell:
- Operation/Shell/shell-basic.md
- Operation/Shell/solve-shell-problems.md
- Operation/Shell/ubuntu-guide.md
- 工具:
- DevTools/index.md
- DevTools/jetbrains-license.md
- CLion:
- DevTools/CLion/config-clion.md
- DevTools/CLion/solve-clion-cannot-open-relative-file.md
- DevTools/CLion/solve-clion-decoding-error.md
- DevCpp:
- DevTools/DevCpp/devc-self-config.md
- Git:
- DevTools/Git/git-basic.md
- DevTools/Git/git-pull-request.md
- DevTools/Git/git-self-define-command.md
- DevTools/Git/solve-git-problems.md
- IDLE:
- DevTools/IDLE/idle-self-config.md
- 博客: https://blog.dwj601.cn/
# 社交链接
extra:
analytics:
provider: google
property: G-56NDVC0D5B
social:
- icon: fontawesome/brands/github
link: https://github.com/Explorer-Dong
name: GitHub
- icon: fontawesome/solid/c
link: https://blog.csdn.net/qq_73408594
name: CSDN
# 页脚 Copyright
copyright: Copyright © 2024 - 2025 Wenjie