-
Notifications
You must be signed in to change notification settings - Fork 5
/
mkdocs.yml
127 lines (117 loc) · 3 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
site_name: Graia 官方文档
theme:
features:
- navigation.tabs
- navigation.tabs.sticky
- navigation.expand
- navigation.top
- content.code.annotate
name: material
language: zh
icon:
repo: fontawesome/brands/git-alt
logo: material/file-document-multiple-outline
favicon: img/favicon.png
font:
text: Noto Sans Simplified Chinese
code: JetBrains Mono
custom_dir: overrides
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/toggle-switch-off-outline
name: 黑暗模式
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/toggle-switch
name: 明亮模式
extra_css:
- "assets/chat.css"
- "assets/extra.css"
- "assets/curtain.css"
repo_url: https://github.com/GraiaProject/Document
repo_name: GraiaProject/Document
extra_javascript:
- "assets/admonition.js"
copyright: Copyright © Graia Project 2020-2023.
extra:
social:
- icon: netlify
link: https://graia.netlify.app/
name: Netlify 镜像
- icon: fontawesome/brands/cloudflare
link: https://graia.pages.dev/
name: CloudFlare 镜像
- icon: fontawesome/solid/book-open-reader
link: https://graia.readthedocs.io/
name: ReadTheDocs 镜像
- icon: fontawesome/brands/qq
link: https://jq.qq.com/?_wv=1027&k=VXp6plBD
name: QQ 群
- icon: material/compass
link: https://graiax.cn/
name: Graiax 社区
- icon: fontawesome/brands/github
link: https://github.com/GraiaProject
name: GitHub 组织
analytics:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY
markdown_extensions:
- attr_list
- md_in_html
- admonition
- footnotes
- meta
- pymdownx.caret
- pymdownx.tilde
- pymdownx.critic
- pymdownx.details
- pymdownx.inlinehilite
- pymdownx.highlight:
use_pygments: true
- pymdownx.snippets
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.keys
- def_list
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- codehilite:
guess_lang: true
linenums: true
- toc: # 锚点
permalink: 🔗
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.magiclink:
repo_url_shorthand: true
social_url_shorthand: true
repo_url_shortener: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
plugins:
- search
- mkdocstrings:
handlers:
python:
import:
- https://docs.python.org/zh-cn/3/objects.inv
- https://ariadne.api.graia.cn/objects.inv
- gen-files:
scripts:
- ./docs/write_verification.py
- literate-nav:
nav_file: NAV.md
- section-index