-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
189 lines (181 loc) · 4.73 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
# Site information
site_name: "五笔拆解查询"
site_url: https://hantang.github.io/search-wubi/
# site_author: hantang
site_description: "all things about wubi"
copyright: Copyleft © 2024
# docs_dir: docs/
# Repository
repo_name: search-wubi
repo_url: https://github.com/hantang/search-wubi/
# edit_uri: tree/main
# Theme
theme:
name: material
# custom_dir: overrides
favicon: static/favicon.ico
logo: static/logo.svg
language: "zh"
icon:
logo: material/keyboard
repo: fontawesome/brands/square-github
admonition:
note: octicons/tag-16
abstract: octicons/checklist-16
info: octicons/info-16
tip: octicons/squirrel-16
success: octicons/check-16
question: octicons/question-16
warning: octicons/alert-16
failure: octicons/x-circle-16
danger: octicons/zap-16
bug: octicons/bug-16
example: octicons/beaker-16
quote: octicons/quote-16
font:
text: Open Sans, Helvetica Neue, Roboto, sans-serif, serif
code: Fira Mono, Fira Code, Roboto Mono, monospace
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: deep purple
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: deep purple
toggle:
icon: material/toggle-switch-off
name: Switch to system preference
features:
- navigation.footer
- navigation.path
- navigation.prune
- navigation.tabs
- navigation.top
- navigation.tracking
# - navigation.indexes
# - navigation.instant
# - navigation.instant.progress
# - navigation.expand
# - navigation.sections
# - navigation.tabs.sticky
- search.highlight
- search.suggest
# - search.share
- toc.follow
# - toc.integrate
- content.code.copy
# - content.action.edit
# - content.action.view
- header.autohide
markdown_extensions:
# Python Markdown
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
toc_depth: 3
# 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
- pymdownx.highlight:
anchor_linenums: true
auto_title: true
line_spans: __span
linenums_style: pymdownx-inline
linenums: true
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.keys
- pymdownx.mark
- pymdownx.magiclink
- pymdownx.smartsymbols
- 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.tilde
- pymdownx.pathconverter
# more
- mdx_truly_sane_lists
# - markdown_gfm_admonition
# - mdx_wikilink_plus
# extra_javascript:
# - https://cdn.jsdelivr.net/npm/[email protected]/src/tablesort.min.js
# - https://cdn.jsdelivr.net/npm/[email protected]/dist/sorts/tablesort.date.min.js
# - https://cdn.jsdelivr.net/npm/[email protected]/dist/sorts/tablesort.number.min.js
# - static/js/tablesort.js
# extra_css:
# - static/css/extra.css
plugins:
- search
# lang:
# - en
# - zh
# separator: '[\s\-,:!=\[\]()"/\u200b]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
- table-reader
# - awesome-pages:
# collapse_single_pages: true
# strict: false
# # order: asc
# # sort_type: natural
# # order_by: title
- minify:
minify_html: true
# - git-revision-date-localized
# exclude_docs: |
# /drafts/
nav:
- 主页: index.md
- 字表: lists/index.md
- 反查: code/index.md
- 打字: type/index.md
- 文档:
- 概述: wiki/index.md
- 教程:
- wiki/tutorial.md
- wiki/advanced.md
- 字根:
- wiki/roots.md
- wiki/roots-example.md
- 码表:
- wiki/shortcodes.md
- wiki/shortcodes-level2.md
- 补充:
- wiki/radical.md
- wiki/strokes.md
- 转载:
- wiki/essays/note0.md
- wiki/essays/note1.md
- wiki/essays/note2.md
- wiki/essays/note3.md
- wiki/essays/note4.md