-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
126 lines (121 loc) · 3.08 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
site_name: ClashRS User Mannual
docs_dir: docs
site_url: https://docs.watfaq.com/clash/
repo_url: https://github.com/Watfaq/clash-rs
edit_uri: https://github.com/Watfaq/docs/blob/master/docs/
repo_name: clash-rs
theme:
logo: artwork/logo.png
favicon: artwork/logo.png
name: material
features:
- search.highlight
- navigation.tracking
# - navigation.instant
# - navigation.expand
- navigation.path
- navigation.indexes
- navigation.tracking
- navigation.top
- navigation.tabs
- navigation.sections
- content.action.edit
# markdown_extensions Code blocks
- content.code.copy
- content.code.annotate
# markdown_extensions.pymdownx.tabbed
- content.tabs.link
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/toggle-switch-off
name: Switch to system preference
# https://squidfunk.github.io/mkdocs-material/reference/
markdown_extensions:
# Admonitions
- admonition
- pymdownx.details
- pymdownx.superfences
# Code blocks
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
# Content tabs
- pymdownx.tabbed:
alternate_style: true
# Foramtting
- pymdownx.critic
- pymdownx.keys
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
# Lists
- def_list
- pymdownx.tasklist:
custom_checkbox: true
nav:
- Welcome: index.md
- Quick start:
- quick-start/index.md
- CLI: quick-start/cli.md
- GUI: quick-start/gui.md
- Configuration:
- config/index.md
- Full Example: config/full.md
- Inbounds:
- config/inbounds/index.md
- HTTP: config/inbounds/http.md
- SOCKS: config/inbounds/socks.md
- Tunnel: config/inbounds/tunnel.md
plugins:
# - search
# - awesome-pages
- i18n:
docs_structure: suffix
fallback_to_default: true
reconfigure_material: true
reconfigure_search: true
languages:
- build: true
default: true
locale: en
name: English
site_name: "ClashRS User Mannual"
- build: true
default: false
locale: zh
name: 简体中文
site_name: "ClashRS 用户文档"
nav_translations:
Welcome: 欢迎
Quick start: 快速开始
CLI: 命令行界面
GUI: 图形用户界面
Configuration: 配置
Full Example: 完整示例
extra:
analytics:
provider: google
property: G-YQC14KYW3F
social:
- icon: fontawesome/brands/github
link: https://github.com/Watfaq/clash-rs
- icon: material/file-document
link: https://github.com/Watfaq/docs