-
Notifications
You must be signed in to change notification settings - Fork 11
/
mkdocs.yml
104 lines (98 loc) · 2.94 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
site_name: Clash Verge Rev Docs
repo_name: clash-verge-rev
repo_url: https://github.com/clash-verge-rev/clash-verge-rev
copyright: Copyright © 2023 clash-verge-rev
edit_uri: https://github.com/clash-verge-rev/clash-verge-rev.github.io/tree/main/docs
# dev服务器监听地址
dev_addr: 127.0.0.1:7788
# 禁用路由导航方式
use_directory_urls: false
# 导航设置
nav:
- 简介: index.md
- 安装: install.md
- 使用教程:
- 常见名词: guide/term.md
- 导出日志: guide/log.md
- 订阅导入: guide/profile.md
- Merge配置: guide/merge.md
- Script配置: guide/script.md
- 设置代理绕过: guide/bypass.md
- 设置代理组图标: guide/group_icon/group_icon.md
- 自定义托盘图标: guide/tray_icon.md
- 自定义主题/样式: guide/css_injection.md
- URL Schemes: guide/url_schemes.md
- 常见问题:
- Windows: faq/windows.md
- MacOS: faq/macos.md
- Linux: faq/linux.md
- 其他问题: faq/other.md
- 友情链接: friendship.md
# 主题设置
theme:
name: material
logo: assets/logo.png
favicon: assets/favicon.ico
features:
- search.highlight
- navigation.tracking
- navigation.instant
- navigation.expand
- navigation.path
- navigation.indexes
- navigation.top
- navigation.tabs
- navigation.sections
- toc.follow
- content.action.edit
- content.code.copy
# 亮色/深色模式
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
accent: blue
toggle:
icon: material/brightness-7
name: 切换至深色模式
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: deep purple
toggle:
icon: material/brightness-4
name: 切换至亮色模式
# markdown特性设置
markdown_extensions:
- admonition # 提醒框、警告框等
- md_in_html # 支持嵌入HTML代码
- pymdownx.details # 支持<details>折叠标签
- pymdownx.tilde # 支持~表示删除的文本
- pymdownx.magiclink # 自动将URL转换为可点击的链接
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.tabbed:
alternate_style: true
- toc:
permalink: true
toc_depth: 3
anchorlink: true
# mermaid渲染
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
plugins:
- search:
separator: '[\s\u200b\-]'
extra:
generator: false # 去除页脚广告
social: # 页脚链接
- icon: fontawesome/brands/github
link: https://github.com/clash-verge-rev/clash-verge-rev
- icon: material/file-document
link: https://github.com/clash-verge-rev/clash-verge-rev.github.io