-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
175 lines (136 loc) · 4.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# https://www.mkdocs.org/user-guide/configuration/
# https://squidfunk.github.io/mkdocs-material/
# site
site_name: 上应 Wiki
site_url: https://kite.sunnysab.cn/wiki/
copyright: 上应 Wiki, 采用 CC0-1.0 协议授权
site_author: "上应大易班,小风筝,上应小风筝"
site_description: >-
这是一个由上海应用技术大学易班工作站和上应小风筝发起的项目,旨在解答大家的疑问。
# repo
repo_name: 上应 Wiki @ GitHub
repo_url: https://github.com/SIT-kite/SIT-wiki
# ------------------------------------------------------------------------------
theme:
name: material
language: zh
# font: false
# logo: assets/logo.svg
# favicon: assets/favicon.svg
icon:
repo: fontawesome/brands/github
palette:
- scheme: default
media: "(prefers-color-scheme: light)"
toggle: { name: 切换至暗色主题, icon: material/brightness-4 }
- scheme: slate
media: "(prefers-color-scheme: dark)"
toggle: { name: 切换至亮色主题, icon: material/brightness-7 }
features:
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/
- navigation.instant
- navigation.sections
- navigation.expand
- navigation.indexes
# ------------------------------------------------------------------------------
# https://www.mkdocs.org/user-guide/configuration/#strict
strict: true
# https://www.mkdocs.org/user-guide/configuration/#use_directory_urls
use_directory_urls: true
extra:
social:
- name: 上应小风筝 SIT-kite
link: https://github.com/SIT-kite
icon: fontawesome/brands/github
analytics:
provider: google
property: G-31EK5FBHBR
# https://www.mkdocs.org/user-guide/configuration/#docs_dir
# docs_dir: docs
# site_dir: site
# https://www.mkdocs.org/user-guide/configuration/#extra_css
extra_css:
- stylesheets/extra.css
extra_javascript:
- javascripts/extra.js
- https://hm.baidu.com/hm.js?13810d475a9e99554fc24cd520271225
plugins:
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/
- search
# https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/
- git-revision-date-localized:
type: datetime
locale: zh # zh_CN
timezone: Asia/Shanghai
enable_creation_date: true
# ------------------------------------------------------------------------------
# https://squidfunk.github.io/mkdocs-material/setup/extensions/
# https://python-markdown.github.io/extensions/#officially-supported-extensions
# https://facelessuser.github.io/pymdown-extensions/
markdown_extensions:
- toc:
permalink: true
slugify: !!python/name:markdown.extensions.toc.slugify_unicode
# slugify: !!python/object/apply:pymdownx.slugs.slugify { kwds: { case: lower } }
# ---
# title: title
# subtitle: subtitle
# description: description
# icon: material/emoticon-happy
# ---
- meta
# !!! note "Title"
# <div class="admonition note">
# <p class="admonition-title">Title</p>
# ...
# </div>
# https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- admonition
- sane_lists # https://python-markdown.github.io/extensions/sane_lists/
- pymdownx.extra # https://facelessuser.github.io/pymdown-extensions/extensions/extra/
- pymdownx.caret # ^s ^<sup> (superscript)^ ^^<ins>^^
- pymdownx.tilde # ~s ~<sub> (subscript)~ ~~<del>~~
- pymdownx.mark # ==HTML <mark>==
# ??? <details>
# ???+ <details open>
- pymdownx.details
# ``` yaml
# code: highlight
# ```
- pymdownx.highlight
# - [ ] task
# - [x] list
- pymdownx.tasklist: { custom_checkbox: true }
# https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- markdown_cjk_spacing.cjk_spacing: { segment_break: true }
# ------------------------------------------------------------------------------
# https://www.mkdocs.org/user-guide/writing-your-docs/#configure-pages-and-navigation
# https://www.mkdocs.org/user-guide/configuration/#nav
nav:
- 主页:
- index.md
- freshman.md
- aowu.md
- emotion.md
- contribute.md
- about.md
- 奉贤校区:
- fengxian/index.md
- fengxian/water.md
- fengxian/moon-cake.md
- 食堂菜单:
- fengxian/canteen-menu/index.md
- fengxian/canteen-menu/canteen-1.md
- fengxian/canteen-menu/canteen-2.md
- fengxian/canteen-menu/canteen-3.md
- 上应小风筝:
- kite-app/about.md
- kite-app/changelog.md
- kite-app/features.md
- kite-app/bbs.md
- kite-app/game.md
- kite-app/todo.md
- kite-app/why-do-we-migrate.md