generated from Enveloppe/mkdocs-publisher-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
159 lines (145 loc) · 4.63 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
site_name: hyj0824's Blog
site_url: https://www.hyj.ac.cn/
dev_addr: "0.0.0.0:8000"
# 右上角项目地址
repo_url: https://github.com/hyj0824/MyBlog
repo_name: hyj0824/MyBlog
copyright: Copyleft hyj0824
theme:
icon:
repo: fontawesome/brands/git-alt
name: "material"
logo: assets/meta/favicon.svg
favicon: assets/meta/favicon.svg
custom_dir: overrides
language: zh
font:
text: "LXGW WenKai Screen"
features:
- navigation.instant
- navigation.indexes
- navigation.top
# - navigation.footer # Add 'previous' and 'next' buttons in the footer
- navigation.tabs
- navigation.tabs.sticky
- navigation.expand
- search.highlight
- search.suggest # Display likeliest completion for the last queried word
- content.code.copy
- content.code.annotate
palette: # 亮暗主题
# # Light Mode
# - media: "(prefers-color-scheme: light)"
# scheme: default
# primary: deep orange
# accent: indigo
# toggle:
# icon: material/toggle-switch-off-outline
# name: Switch to Dark Mode
# Dark Mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: deep purple
accent: indigo
# toggle:
# icon: material/toggle-switch
# name: Switch to Light Mode
# 满血版
plugins:
- search
- meta-descriptions
- git-revision-date-localized:
type: datetime
fallback_to_build_date: true
locale: zh
time_zone: Asia/Shanghai
enable_creation_date: true
- ezlinks
- awesome-pages
- embed_file:
callouts: true
custom-attributes: "assets/css/custom_attributes.css"
- custom-attributes:
file: "assets/css/custom_attributes.css"
- tags:
tags_file: tags.md
- callouts
- glightbox
markdown_extensions:
- nl2br
- admonition
- def_list
- footnotes
- meta
- toc:
permalink: true
slugify: !!python/name:pymdownx.slugs.uslugify
- pymdownx.arithmatex:
generic: true
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.highlight:
linenums: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.snippets:
check_paths: true
- pymdownx.progressbar
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: math
class: arithmatex
format: !!python/name:pymdownx.arithmatex.fence_mathjax_format
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.tabbed:
alternate_style: true
extra_javascript:
- https://polyfill.alicdn.com/v3/polyfill.min.js?features=es6
- assets/js/katex.js
- https://unpkg.com/katex@0/dist/katex.min.js
- https://unpkg.com/katex@0/dist/contrib/auto-render.min.js
extra_css:
- https://cdn.tonycrane.cc/lxgw/lxgwscreen.css # 注册 LXGW WenKai Screen
- https://unpkg.com/katex@0/dist/katex.min.css
- assets/css/custom_attributes.css
extra:
SEO: assets/meta/favicon.svg
social:
- icon: fontawesome/brands/github
link: https://github.com/hyj0824
- icon: fontawesome/regular/envelope
link: mailto:[email protected]
- icon: fontawesome/brands/steam
link: https://steamcommunity.com/profiles/76561199220461638/
- icon: fontawesome/brands/qq
link: https://qm.qq.com/q/hbtmNzuuGs
# Custom Homepage Elements
home_cover_image: assets/meta/head.webp # This path starts at your root mkdocs directory.
home_tagline: hyj0824's Blog
home_description: |
一枚SN的蒟蒻
home_gradient_hsla: hsla(0deg,47%,55%,1) # Default Green: hsla(160deg,47%,55%,1)
# Custom Homepage Button(s)
# home_button1_name: View All # Comment this parameter out to remove the button.
# home_button1_url: posts_list
# home_button1_theme: md-button md-button--primary # Options: "md-button", "md-button md-button--primary"
# home_button1_icon: image # Options: "people", "gear", "image"
# home_button1_blurb: | # Short description of this button / section.
# 查看文章列表
# home_button2_name: Tags # Comment this parameter out to remove the button.
# home_button2_url: tags # This path starts at your root mkdocs directory.
# home_button2_theme: md-button # Options: "md-button", "md-button md-button--primary"
# home_button2_icon: gear # Options: "people", "gear", "image"
# home_button2_blurb: | # Short description of this button / section.
# 按照 tags 查找页面
# Homepage Code Execution
# home_execute_js: | # Javascript to execute when accessing the homepage
# console.log("This is an example!");