forked from ArcticLampyrid/elec-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
104 lines (96 loc) · 2.59 KB
/
mkdocs.yml
File metadata and controls
104 lines (96 loc) · 2.59 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
site_name: Elec Wiki
site_description: 电子开发者的知识库
site_author: Fans of Electronics
site_url: https://elec.alampy.com
strict: false
repo_name: ArcticLampyrid/elec-wiki
repo_url: https://github.com/ArcticLampyrid/elec-wiki
edit_uri: edit/main/docs/
copyright: 'Copyright © 2023 Fans of Electronics'
theme:
name: material
custom_dir: docs/overrides
icon:
logo: 'material/school'
features:
- navigation.tabs
- navigation.instant
- navigation.footer
- content.action.edit
language: 'zh'
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
accent: red
toggle:
icon: material/weather-sunny
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue
accent: blue
toggle:
icon: material/weather-night
name: Switch to light mode
plugins:
- git-authors
- awesome-pages:
strict: false
order: asc
sort_type: natural
order_by: title
markdown_extensions:
- admonition
- def_list
- footnotes
- meta
- toc:
permalink: ""
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
percent_encode: true
- 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
hooks:
- hooks/homepage.py
extra_javascript:
- 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
- https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/5.0.28/fancybox/fancybox.umd.min.js
- javascripts/main.js
extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css
- https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/5.0.28/fancybox/fancybox.min.css
extra:
analytics:
provider: cloudflareinsights
property: 999960a09fd44d63bc39abfe9a0e55a5