forked from jaywhj/mkdocs-materialx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
executable file
·286 lines (260 loc) · 7.9 KB
/
mkdocs.yml
File metadata and controls
executable file
·286 lines (260 loc) · 7.9 KB
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
#---- 1. Site config ----
site_name: MaterialX
site_url: https://jaywhj.github.io/mkdocs-materialx/
site_author: Aaron Wang
site_description: >-
Born for documents, yet beyond documents.
Accessible to everyone, extremely easy to use.
Modern, lightweight, customizable, responsive.
repo_name: jaywhj/mkdocs-materialx
repo_url: https://github.com/jaywhj/mkdocs-materialx
copyright: Copyright © 2016 - 2026 Aaron Wang
# Additional configuration
extra:
status:
new: Recently added
deprecated: Deprecated
social:
- icon: fontawesome/brands/github
link: https://github.com/jaywhj
name: GitHub
- icon: material/email
link: mailto:junewhj@qq.com
name: Email
- icon: fontawesome/brands/discord
link: https://discord.gg/cvTfge4AUy
name: Discord
#---- 2. Theme ----
theme:
name: materialx
custom_dir: material/overrides
features:
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
# - content.code.select
# - content.tabs.link
- content.footnote.tooltips
- content.tooltips
- navigation.tabs
# - navigation.tabs.sticky
# - navigation.top
# - navigation.tracking
# - navigation.expand
# - navigation.indexes
# - navigation.instant
# - navigation.instant.prefetch
# - navigation.instant.progress
# - navigation.prune
- navigation.sections
- navigation.footer
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
# topbar_style: primary # glass primary accent
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: blue
accent: light blue
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: cyan
accent: cyan
toggle:
icon: material/brightness-4
name: Switch to system preference
font: false
favicon: assets/favicon.png
icon:
logo: logo
annotation: material/plus-circle-outline
#---- 3. Plugins & Hooks ----
plugins:
# - blog
# - tags
- offline
- search:
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
# - minify:
# minify_html: true
- document-dates:
type: timeago
locale: en
exclude: ['index.md', 'license.md', '*/index.md', 'blog/*']
- glightbox
# Hooks
hooks:
- material/overrides/hooks/shortcodes.py
- material/overrides/hooks/translations.py
#---- 4. Extensions ----
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
toc_depth: 4
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem
# smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
emoji_index: !!python/name:pymdownx.emoji.twemoji
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
normalize_issue_symbols: true
repo_url_shorthand: true
user: squidfunk
repo: mkdocs-material
- 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
#---- 5. Page tree ----
# use_directory_urls: false
# exclude_docs: |
# /drafts/
# not_in_nav: |
# /tutorials/**/*.md
nav:
- Home: index.md
- Get started:
- Differences: differences.md
- Installation: installation.md
- Create your site: creating-your-site.md
- Publish your site: publishing-your-site.md
- Customization: customization.md
- Setup:
- setup/index.md
- Logo and icons: setup/changing-the-logo-and-icons.md
- Colors: setup/changing-the-colors.md
- Fonts: setup/changing-the-fonts.md
- Language: setup/changing-the-language.md
- Navigation: setup/setting-up-navigation.md
- Dates & authors: setup/adding-document-dates-authors.md
- Recently updated: setup/adding-recent-updates-module.md
- Repository: setup/adding-a-git-repository.md
- Site search: setup/setting-up-site-search.md
- Site analytics: setup/setting-up-site-analytics.md
- Social cards: setup/setting-up-social-cards.md
- Tags: setup/setting-up-tags.md
- Header: setup/setting-up-the-header.md
- Footer: setup/setting-up-the-footer.md
- Comment system: setup/adding-a-comment-system.md
- Versioning: setup/setting-up-versioning.md
- Data privacy: setup/ensuring-data-privacy.md
- Blog: setup/setting-up-a-blog.md
# - Building an optimized site: setup/building-an-optimized-site.md
# - Building for offline usage: setup/building-for-offline-usage.md
- Extensions:
- setup/extensions/index.md
- Markdown: setup/extensions/python-markdown.md
- Markdown Extensions: setup/extensions/python-markdown-extensions.md
- Plugins:
- plugins/index.md
- Tags: plugins/tags.md
- Blog: plugins/blog.md
- Meta: plugins/meta.md
- Search: plugins/search.md
- Social: plugins/social.md
- Offline: plugins/offline.md
- Optimize: plugins/optimize.md
- Privacy: plugins/privacy.md
- Group: plugins/group.md
- Info: plugins/info.md
# - Projects: plugins/projects.md
# - Typeset: plugins/typeset.md
- Requirements:
- Image processing: plugins/requirements/image-processing.md
- Caching: plugins/requirements/caching.md
- Authoring:
- reference/index.md
- Admonitions: reference/admonitions.md
- Annotations: reference/annotations.md
- Buttons: reference/buttons.md
- Code blocks: reference/code-blocks.md
- Content tabs: reference/content-tabs.md
- Data tables: reference/data-tables.md
- Diagrams: reference/diagrams.md
- Footnotes: reference/footnotes.md
- Formatting: reference/formatting.md
- Grids: reference/grids.md
- Icons, Emojis: reference/icons-emojis.md
- Images: reference/images.md
- Lists: reference/lists.md
- Math: reference/math.md
- Tooltips: reference/tooltips.md
# - Insiders:
# - insiders/index.md
# - Getting started: insiders/getting-started.md
# - Changelog:
# - insiders/changelog/index.md
# - How to upgrade: insiders/upgrade.md
- Community:
- Contributing:
- contributing/index.md
- Reporting a bug: contributing/reporting-a-bug.md
- Reporting a docs issue: contributing/reporting-a-docs-issue.md
- Requesting a change: contributing/requesting-a-change.md
- Adding translations: contributing/adding-translations.md
- Making a pull request: contributing/making-a-pull-request.md
- Asking a question: https://github.com/jaywhj/mkdocs-materialx/discussions
- Guides:
- Creating a reproduction: guides/creating-a-reproduction.md
- Tutorials:
# - tutorials/index.md
- "Blogs":
- tutorials/blogs/basic.md
- tutorials/blogs/navigation.md
- tutorials/blogs/engage.md
- "Social cards":
- tutorials/social/basic.md
- tutorials/social/custom.md
# - Blog:
# - blog/index.md
- System:
- Conventions: conventions.md
- Browser support: browser-support.md
# - Philosophy: philosophy.md
# - Alternatives: alternatives.md
- License: license.md
- Changelog:
- changelog/index.md
- How to upgrade: upgrade.md