-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
156 lines (147 loc) · 5.03 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
INHERIT: ./nav.yml
site_name: yangzhang's Site
site_url: https://yangzhang.site/
site_author: Yang Zhang
site_description: 张杨的个人网站
not_in_nav: index.md
validation:
links:
# Blog文章的assets全部使用绝对链接
absolute_links: ignore
# 为了i18n插件能正常工作,站内跳转使用相对链接
unrecognized_links: ignore
theme:
font: false
name: material
custom_dir: overrides
logo: assets/images/summation.png
palette: # 一周七天不同颜色,白色占位
- scheme: placeholder
primary: white
accent: orange
- scheme: sun
primary: purple
accent: orange
- scheme: mon
primary: grey
accent: orange
- scheme: tues
primary: blue-grey
accent: orange
- scheme: wed
primary: teal
accent: orange
- scheme: thur
primary: indigo
accent: orange
- scheme: fri
primary: pink
accent: orange
- scheme: sat
primary: deep-purple
accent: orange
features:
- navigation.tabs # 使用Tab来进行分类
- navigation.indexes # Tab会有一个index.md 而不是在打开Tab时打开第一篇文章
- content.code.copy # 代码内容给一个复制按钮
- content.code.annotate # 代码块内的注释
# - navigation.top # 返回顶部的按钮 在上滑时出现
# - navigation.expand # 打开Tab时左侧目录全部展开
# - search.suggest # 搜索输入一些字母时推荐补全整个单词
# - search.highlight # 搜索出的文章关键词加入高亮
# - announce.dismiss # 公告标记为已读
language: zh # 一些提示性的文字会变成中文
icon:
repo: fontawesome/brands/github
repo_name: AIboy996.github.io
repo_url: https://github.com/AIboy996/AIboy996.github.io
copyright: "<a href='https://github.com/AIboy996/AIboy996.GitHub.io/blob/main/LICENSE'>© 2022-2024 Yang Zhang</a>" # 左下角的版权声明
extra:
analytics:
provider: google
property: G-8R9VRSN3S0
feedback:
title: Was this page helpful?
ratings:
- icon: material/emoticon-happy-outline
name: This page was helpful
data: 1
note: >-
Thanks for your feedback!
- icon: material/emoticon-sad-outline
name: This page could be improved
data: 0
note: >-
Thanks for your feedback! Help me improve this page by using the <a href="https://github.com/AIboy996/AIboy996.GitHub.io/issues/new/?title=[Feedback]+{title}+-+{url}" target="_blank" rel="noopener">feedback form</a>.
social: # icons
- icon: material/email
link: mailto:[email protected]
name: 邮件
- icon: fontawesome/brands/github
link: https://github.com/AIboy996
name: GitHub | AIboy996
- icon: fontawesome/brands/bilibili
link: https://space.bilibili.com/85735334
name: BiliBili | 豆汁泡纳豆
- icon: fontawesome/solid/paper-plane
link: https://t.me/onsdriver
name: Telegram | @onsdriver
- icon: fontawesome/solid/list-check
link: https://bangumi.tv/anime/list/759154/do
name: bangumi追番列表
- icon: material/calculator-variant
link: https://aiboy996.github.io/dzd/
name: 高中数学典中典
- icon: material/brush
link: https://plt.yangz.site
name: plt画廊
- icon: material/plex
link: https://plex.yangz.site
name: Plex实况
- icon: fontawesome/solid/message
link: https://whisper.yangz.site
name: 微博客
- icon: fontawesome/solid/rss
link: https://yangzhang.site/feed_rss_created.xml
name: RSS
markdown_extensions:
- md_in_html
- attr_list # 给图片后面添加{width="300"}设置大小
# - pymdownx.arithmatex # 更换渲染的方式,不依赖此插件,直接使用MathJax渲染
- footnotes
- toc:
permalink: true # 固定标题位置为当前位置
toc_depth: 3
- pymdownx.highlight: # 代码块高亮
# auto_title: true # 显示编程语言名称
- admonition
- pymdownx.details
- pymdownx.tasklist
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- meta # 支持Markdown文件上方自定义标题标签等
extra_css:
- assets/stylesheets/thm.css
- assets/stylesheets/ai-summary.css
- assets/stylesheets/extra.css
- assets/stylesheets/termynal.css
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
extra_javascript:
# 外链的行为
- assets/javascripts/link.js
# 百度的页面访问统计【暂时移除百度的访问统计(加载实在是有点慢】
# - assets/js/baidu.js
# 随着星期几改变主题颜色
- assets/javascripts/color.js
# termynal组件
- assets/javascripts/termynal.js
- assets/javascripts/gen_termynal.js
# 鼠标点击特效
# - https://cdn.jsdelivr.net/gh/TRHX/[email protected]/js/maodian.js