-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
173 lines (164 loc) · 4.28 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
site_name: Cdm2883 的个人博客
site_url: https://blog.cdms.vip
site_author: Cdm2883
site_description: 我的中文个人博客 = ̄ω ̄=
repo_name: Cdm2883/Blog
repo_url: https://github.com/Cdm2883/Blog
edit_uri: edit/master/docs/
copyright: Copyright © 2024 - 2024 Cdm2883
theme:
name: material
custom_dir: overrides
language: zh
icon:
logo: material/book-open
# noinspection YAMLSchemaValidation
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: 切换到日间模式
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: 切换到夜间模式
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: 切换到主题跟随系统
features:
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.tracking
- navigation.tabs
- navigation.sections
- navigation.top
- navigation.footer
- search.suggest
- search.highlight
- search.share
- header.autohide
- announce.dismiss
- content.code.copy
- content.code.annotate
- content.tabs.link
- content.tooltips
- content.action.edit
- content.action.view
# noinspection YAMLSchemaValidation
plugins:
- search:
lang:
- zh
- en
- ja
separator: '[\s\u200b\-]'
- blog:
blog_dir: .
blog_toc: true
post_date_format: full
post_url_format: "{date}/{file}"
archive_date_format: yyyy / MM
categories_slugify: !!python/object/apply:ext.categories_slug.slugify {}
categories_allowed:
- 技术
- 绘画
- 日常
categories_toc: true
- rss:
match_path: ^posts[\\/].*
date_from_meta:
as_creation: date
categories:
- categories
- tags
comments_path: "#__comments"
- tags:
tags_file: tags.md
- statistics:
page_read_time: false
page_template: ../overrides/page_statistics.html
include_path: ^posts[\\/].*
- # noinspection SpellCheckingInspection
git-revision-date-localized:
type: timeago
locale: zh
exclude:
- tags.md
- meta-descriptions
- minify:
minify_css: true
cache_safe: true
css_files:
- assets/stylesheets/md-banner.css
- assets/stylesheets/md-search.css
- assets/stylesheets/md-post.css
# noinspection YAMLSchemaValidation, SpellCheckingInspection
markdown_extensions:
- pymdownx.arithmatex:
generic: true
- 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
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.snippets
- pymdownx.tilde
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- toc:
permalink: true
permalink_title: 获取此部分的链接
# slugify: !!python/object/apply:pymdownx.slugs.slugify
# kwds:
# case: lower
extra_javascript:
- assets/javascripts/mathjax.js
- https://unpkg.zhimg.com/[email protected]/es5/tex-mml-chtml.js
extra_css:
- assets/stylesheets/article.css
- assets/stylesheets/md-banner.css
- assets/stylesheets/md-search.css
- assets/stylesheets/md-post.css
extra:
social:
- icon: material/rss
link: /feed_rss_created.xml
name: RSS 订阅
- icon: simple/bilibili
link: https://space.bilibili.com/481934252
name: 哔哩哔哩
- icon: material/qqchat
link: https://qm.qq.com/q/PprH7UV46y
name: 腾讯 QQ
- icon: material/github
link: https://github.com/Cdm2883
name: Github
- icon: material/email
link: mailto:[email protected]
name: 电子邮箱