-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
133 lines (127 loc) · 3.14 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
site_name: 技术文档
site_url: https://aisuhua.github.io
site_author: aisuhua
site_description: >-
Just writing
repo_name: aisuhua/aisuhua.github.io
repo_url: https://github.com/aisuhua/aisuhua.github.io
edit_uri: edit/main/docs/
theme:
name: material
language: zh
custom_dir: overrides
features:
- navigation.instant
- navigation.instant.progress
- navigation.tracking
- navigation.indexes
- announce.dismiss
- content.action.edit
#- content.action.view
- content.code.annotate
- content.code.copy
- content.tooltips
- navigation.footer
- navigation.indexes
#- navigation.tabs
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
palette:
- primary: black
accent: red
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
- scheme: slate
primary: black
accent: red
toggle:
icon: material/lightbulb
name: Switch to dark mode
#palette:
# - media: "(prefers-color-scheme: dark)"
# scheme: slate
# primary: black
# accent: indigo
# toggle:
# icon: material/lightbulb
# name: Switch to system preference
# - media: "(prefers-color-scheme: light)"
# scheme: default
# primary: indigo
# accent: indigo
# toggle:
# icon: material/lightbulb-outline
# name: Switch to dark mode
font: false
icon:
repo: fontawesome/brands/github
plugins:
- search:
lang: zh
separator: '[\s\u200b\-]'
- minify:
minify_html: true
- git-committers:
- git-authors:
show_contribution: true
show_email_address: false
- git-revision-date-localized:
enable_creation_date: true
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
#permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
auto_append:
- includes/mkdocs.md
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.extra
extra_css:
- assets/stylesheets/font.css
- assets/stylesheets/style.css
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/aisuhua/aisuhua.github.io
- icon: fontawesome/brands/docker
link: https://hub.docker.com/r/squidfunk/mkdocs-material/