-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
96 lines (90 loc) · 3.25 KB
/
Copy pathmkdocs.yml
File metadata and controls
96 lines (90 loc) · 3.25 KB
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
site_name: Cc
site_url: https://cc050511.github.io/note/
repo_name: Cc050511/note
repo_url: https://github.com/Cc050511/note/
edit_uri: tree/main/docs
site_description: Cc的笔记本
copyright: Copyright © 2022-2023 <a href="https://github.com/Cc050511" target="_blank" rel="noopener">Cc050511</a>
theme:
name: 'material'
custom_dir: overrides
palette:
#primary: blue grey
- scheme: default # 日间模式
primary: indigo # 上方的
accent: cyan # 链接等可交互元件的高亮色
toggle:
icon: material/weather-night # 图标
name: 切换至夜间模式 # 鼠标悬浮提示
- scheme: slate # 夜间模式
primary: black
accent: cyan
toggle:
icon: material/weather-sunny
name: 切换至日间模式
features:
# - navigation.footer
- navigation.instant #- header.autohide #自动隐藏
#- announce.dismiss #呈现可标记为由用户读取的临时公告,可以包含一个用于取消当前公告的按钮
- navigation.tracking #地址栏中的 URL 将自动更新为在目录中突出显示的活动锚点
- navigation.tabs #顶级部分将呈现在上面视口标题下方的菜单层中,但在移动设备上保持原样
#- navigation.tabs.sticky #启用粘性选项卡后,导航选项卡将锁定在标题下方,并在向下滚动时始终保持可见
#- navigation.sections #启用部分后,顶级部分在边栏中呈现为1220px以上视口的组,但在移动设备上保持原样
- navigation.top # 返回顶部的按钮 在上滑时出现
- search.suggest # 搜索输入一些字母时推荐补全整个单词
- search.highlight # 搜索出的文章关键词加入高亮
#- navigation.expand # 打开Tab时左侧目录全部展开
#- navigation.indexes #启用节索引页后,可以将文档直接附加到节
- search.share #搜索分享按钮\
- content.code.copy # 代码块允许复制
icon:
repo: fontawesome/brands/github #右上角图标
extra_css:
- stylesheets/extra.css
markdown_extensions:
- footnotes
- pymdownx.arithmatex:
generic: true
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.critic
- pymdownx.highlight:
anchor_linenums: true
# line_spans: __span
# pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- tables
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- md_in_html
- def_list
- pymdownx.tasklist:
custom_checkbox: true
extra_javascript:
# mathjax
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
nav:
- Home: index.md
# - About: about.md
- Computer Science:
- cpp编译运行: cs/cpp编译运行.md
- 爬虫: cs/爬虫.md
- Other:
- English:
- 如何用英语思考中的练习: english/practice.md
- test: test.md
- About: about.md