-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmkdocs.yml
More file actions
115 lines (107 loc) · 3.67 KB
/
Copy pathmkdocs.yml
File metadata and controls
115 lines (107 loc) · 3.67 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
site_name: Python 学习笔记
site_url: https://flyingpointer2.github.io/python_learning/
site_author: flyingPointer2
site_description: flyingPointer2 的 Python 学习笔记
theme:
name: material
palette:
# 日间模式
- scheme: default
# 主颜色
primary: indigo
# 链接等可交互元件的高亮色
accent: orange
toggle:
# 图标
icon: material/weather-night
# 鼠标悬浮提示
name: 切换至夜间模式
# 夜间模式
- scheme: slate
primary: indigo
accent: orange
toggle:
icon: material/weather-sunny
name: 切换至日间模式
features:
# 使用 Tab 来进行分类
- navigation.tabs
# 返回顶部的按钮,在上滑时出现
- navigation.top
# 给每个 Tab 添加一个 index.md,且在点击 Tab 时打开
- navigation.indexes
# 打开 Tab 时左侧目录全部展开
- navigation.expand
# 搜索输入一些字母时推荐补全整个单词
- search.suggest
# 搜索的关键词文章加入高亮
- search.highlight
# 可以通过按钮复制代码
- content.code.copy
# [点击按钮跳转至 GitHub 修改 Markdown 源文件]
# - content.action.edit
# 一些提示性的文字会变成中文
language: zh
# icon:
# # [添加 GitHub 仓库]
# # https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#repository-icon
# repo: fontawesome/brands/github
nav:
- 关于:
- ABOUT/index.md
- 笔记:
- NOTES/index.md
- Python:
- 0_Python环境配置: NOTES/Python/0_Python_install.md
copyright: flyingPointer2 CC-BY-4.0
# [bottom-right corner]
extra:
# [添加社交网络图标和链接]
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#social-links
# 搜索图标:https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/#search
# name 会在鼠标悬浮时提示
social: # icons
- name: GitHub | flyingPointer2
icon: fontawesome/brands/github
link: https://github.com/flyingPointer2/python_learning
markdown_extensions:
# [数学公式支持]
# https://squidfunk.github.io/mkdocs-material/reference/math/#katex
- pymdownx.arithmatex:
generic: true
# [图片功能支持]
# https://squidfunk.github.io/mkdocs-material/reference/images/
- attr_list
- md_in_html
# [给标题添加链接]
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#+toc.permalink
# - toc:
# permalink: true # 固定标题位置为当前位置
# [代码语法高亮]
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-blocks
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight
- pymdownx.highlight:
# 显示行号
linenums: true
# 显示编程语言名称
auto_title: true
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.highlight.line_spans
line_spans: __span
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.highlight.pygments_lang_class
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
# [Markdown 提示]
# https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- admonition
- pymdownx.details
# [Markdown footnote 语法支持]
# https://squidfunk.github.io/mkdocs-material/reference/footnotes/
- footnotes
# The following settings are useless!
# plugins:
# - privacy:
# # make all external links open in a new tab
# links_attr_map:
# target: _blank