-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
executable file
·105 lines (102 loc) · 2.96 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
site_name: xzqbear blogs
repo_url: https://github.com/xiong-ZH-zq/xzqbear-blogs
repo_name: xzqbear-blogs
theme:
favicon: imgs/bear-svgrepo-com.svg
logo: imgs/bear-svgrepo-com.svg
language: zh
name: material
custom_dir: overrides
palette:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
primary: cyan
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
primary: blue grey
features:
- navigation.tabs
- navigation.tabs.sticky
# - navigation.expand
font:
text: Inria Serif
icon:
admonition: # change icon of admonition
example: octicons/telescope-16
markdown_extensions:
- meta
- nl2br
- admonition
- pymdownx.details
- footnotes
- pymdownx.tabbed:
alternate_style: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tilde
- pymdownx.arithmatex:
generic: true
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- md_in_html # image configuration
- tables
plugins:
- search:
separator: '[\s\u200b\-]' # Enhance Chinese Search
- callouts # transform obsidian callout to material admonition
- glightbox
- tags
- ezlinks
- mkdocs-jupyter:
include: ["*.ipynb"]
- blog: # The settings of blogs
enabled: true
blog_dir: ./blog
blog_toc: true
post_date_format: full
post_dir: "{blog}/articles"
categories: true
categories_name: Categories
archive_name: "按年份归类"
post_readtime_words_per_minute: 220
post_slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/contrib/auto-render.min.js
- https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/copy-tex.min.js
- https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js
- javascripts/config.js # Customazation js
extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css
- css/extra.css # Customazation css
extra:
attachments: "imgs"
analytics:
provider: google
property: G-XXXXXXXXXX
feedback:
title: 本页面内容是否对您有帮助?
ratings:
- icon: material/thumb-up-outline
name: 有帮助
data: 1
note: >-
感谢反馈!
- icon: material/thumb-down-outline
name: 没帮助
data: 0
note: >-
感谢反馈!