-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
110 lines (97 loc) · 2.69 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
site_name: Kayaku API 参考
theme:
features:
- navigation.tabs
- navigation.tabs.sticky
- navigation.expand
- navigation.top
name: material
language: zh
icon:
repo: fontawesome/brands/git-alt
logo: material/file-document-multiple-outline
font:
text: Noto Sans Simplified Chinese
code: JetBrains Mono
custom_dir: docs/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"
extra_javascript:
- "assets/admonition.js"
repo_url: https://github.com/GraiaProject/kayaku
repo_name: GraiaProject/kayaku
edit_uri: blob/master/
copyright: Copyright © Graia Project 2021-2022.
extra:
social:
- 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 # 定义元数据, 通过文章上下文控制, 如disqus
- pymdownx.caret # 下划线上标
- pymdownx.tilde # 删除线下标
- pymdownx.critic # 增加删除修改高亮注释, 可修饰行内或段落
- pymdownx.details # 提示块可折叠
- pymdownx.inlinehilite # 行内代码高亮
- pymdownx.highlight
- pymdownx.snippets
- pymdownx.mark # 文本高亮
- pymdownx.smartsymbols # 符号转换
- pymdownx.superfences # 代码嵌套在列表里
- pymdownx.keys
- codehilite: # 代码高亮, 显示行号
guess_lang: false
linenums: true
- toc: # 锚点
permalink: 🔗
- pymdownx.arithmatex # 数学公式
- pymdownx.tasklist: # 复选框checklist
custom_checkbox: true
- pymdownx.tabbed:
alternate_style: true
plugins:
- search
- mkdocstrings:
handlers:
python:
paths: [src]
import:
- https://docs.python.org/zh-cn/3/objects.inv
options:
show_root_heading: true
docstring_style: google
show_submodules: false
show_signature_annotations: yes
separate_signature: yes
docstring_section_style: list
line_length: 999
- literate-nav:
nav_file: NAV.md
- section-index