forked from jint233/jint233.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
121 lines (115 loc) · 2.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
site_name: 技术文章摘抄
site_url: https://jint233.github.io/
site_author: jin
site_description: 技术文章摘抄
docs_dir: ./docs
site_dir: site
# Repository
repo_name: jint233/jint233.github.io
repo_url: https://github.com/jint233/jint233.github.io
edit_uri: ""
# # Copyright
copyright: Copyright © 2016 - 2024 jint233
# Configuration
theme:
name: material
custom_dir: ./overrides
language: zh
features:
- announce.dismiss
- content.code.annotate
- content.code.copy
- content.tabs.link
- content.tooltips
- navigation.tabs
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.prune
- navigation.indexes
- navigation.top
- navigation.footer
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
palette:
- scheme: default
primary: white
accent: teal
toggle:
icon: material/theme-light-dark
name: 深色模式
- scheme: slate
primary: black
accent: teal
toggle:
icon: material/theme-light-dark
name: 浅色模式
font:
text: Roboto
code: Roboto Mono
favicon: ../assets/images/favicon.png
logo: ../assets/images/logo.svg
icon:
logo: logo
repo: fontawesome/brands/github
extra:
alternate:
- name: 简体中文
link: /
lang: zh
social:
- icon: fontawesome/brands/github
link: https://github.com/jint233/Notes
generator: false
# Plugins
plugins:
- search:
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- glightbox:
touchNavigation: true
loop: false
effect: zoom
slide_effect: none
width: 100%
height: auto
zoomable: true
draggable: false
auto_caption: false
caption_position: bottom
# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
extra_javascript:
- javascripts/mathjax.js
extra_css:
- stylesheets/extra.css