-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
150 lines (138 loc) · 3.51 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
site_name: HuangFuSL's Blog
repo_name: HuangFuSL/HuangFuSL.github.io
repo_url: https://github.com/HuangFuSL/HuangFuSL.github.io
edit_uri: https://github.com/HuangFuSL/HuangFuSL.github.io/edit/main/docs
theme:
name: material
custom_dir: overrides
language: zh
palette: # 颜色
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: pink
accent: pink
toggle:
icon: material/weather-sunny
name: Switch to dark mode
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: pink
accent: pink
toggle:
icon: material/weather-night
name: Switch to light mode
features:
# Code block section
- content.code.copy
- content.code.annotate
# Navigation section
# - navigation.instant # Removed due to math equations not rendering
- navigation.tracking
- navigation.prune
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.indexes
- navigation.top
- toc.follow
# Search section
- search.suggest
font:
code: Source Code Pro
text: PingFang SC
favicon: img/favicon.png
icon:
# logo: material/book-variant
logo: bootstrap/journal-bookmark-fill
repo: fontawesome/brands/git-alt
extra:
pagetime: 'on'
social:
- icon: fontawesome/brands/github
link: https://github.com/HuangFuSL
- icon: fontawesome/brands/docker
link: https://hub.docker.com/u/huangfusl
- icon: fontawesome/brands/steam
link: https://steamcommunity.com/id/huangfusl/
- icon: fontawesome/brands/zhihu
link: https://www.zhihu.com/people/huang-fu-shuo-long
- icon: fontawesome/brands/bilibili
link: https://space.bilibili.com/387905326
watch:
- data
- main
plugins:
- search:
separator: '[\s\u200b\-]'
- awesome-pages
- git-revision-date
- git-revision-date-localized:
enable_creation_date: true
type: timeago
- macros
- mkdocs-jupyter:
include_source: false
execute: false
- meta-descriptions
markdown_extensions:
# Python Markdown
- abbr
- admonition
- attr_list
- codehilite:
guess_lang: true
linenums: true
- def_list
- footnotes
- md_in_html
- meta
- toc:
permalink: true
# Python Markdown Extensions
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
options:
custom_icons:
- overrides/.icons
- pymdownx.extra
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
# Neoteroi Plugins
- neoteroi.timeline
- neoteroi.cards
- neoteroi.spantable
extra_css:
- https://www.neoteroi.dev/mkdocs-plugins/css/neoteroi.css
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css
- css/css_override.css
- css/jupyter.css
extra_javascript:
- js/loadColor.js
- js/love.js
- js/jupyter.js
- js/katex.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js
validation:
links:
absolute_links: ignore