-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmkdocs.yml
77 lines (66 loc) · 1.67 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
site_name: NCU-CS-升学指南
site_url: https://github.com/trace1729/NCU-CS-BaoYan
repo_name: NCU-CS-BAOYAN
repo_url: https://github.com/trace1729/NCU-CS-BaoYan
theme:
name: material
language: zh
highlightjs: true
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: blue
toggle:
icon: material/weather-night
name: 暗色模式
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: purple
toggle:
icon: material/weather-sunny
name: 亮色模式
features:
- navigation.top
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/?h=nav#navigation-tabs
# - navigation.tabs
# - navigation.tabs.sticky
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/?h=footer
custom_dir: overrides
font:
text: Noto Serif SC # Roboto
code: Roboto Mono
# 版权
copyright: This website follows CC BY-SA 4.0
# 插件
plugins:
- search
- awesome-pages:
strict: false
# LaTeX支持
markdown_extensions:
- pymdownx.arithmatex:
generic: true
- admonition
- pymdownx.details
- pymdownx.tilde
- pymdownx.superfences
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.highlight:
use_pygments: true
- footnotes
- def_list
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tabbed:
alternate_style: true
- attr_list
- md_in_html
extra_javascript:
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
extra_css:
- stylesheets/status.css