Skip to content

Commit baefcf8

Browse files
committed
disable navigation.instant
1 parent 1735828 commit baefcf8

File tree

4 files changed

+12
-26
lines changed

4 files changed

+12
-26
lines changed

.github/workflows/deploy.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,16 @@ jobs:
2323
- run: |
2424
pip install -r requirements.txt
2525
mkdocs build
26+
mkdir sites
27+
mv site sites/clash-rs
2628
env:
2729
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
2830
2931
- name: Deploy
3032
uses: peaceiris/actions-gh-pages@v3
3133
with:
3234
github_token: ${{ secrets.GITHUB_TOKEN }}
33-
publish_dir: site
35+
publish_dir: sites
3436
# cname: clash.watfaq.com
3537
force_orphan: true
3638
user_name: github-actions[bot]

docs/index.md

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
hide:
3-
- navigation
43
- toc
4+
- navigation
55
---
66
# 👋Welcome to ClashRS User Manual
77

@@ -21,18 +21,3 @@ ClashRS is a network proxy software that you can use to control how you want to
2121
- ⚙️ Shadowsocks/Trojan/Vmess outbound support with different underlying trasports.
2222
- 🌍 Dynamic remote rule/proxy loader.
2323
- 🎵 Tracing with Jaeger
24-
25-
26-
27-
## Links
28-
29-
- Repository - https://github.com/Watfaq/clash-rs
30-
- Download - https://github.com/Watfaq/clash-rs/releases
31-
32-
## Get Started
33-
34-
We've put together some helpful guides for you to get setup with our product quickly and easily.
35-
36-
[⌨️Getting set up](quick-start/index.md)
37-
38-
[🔨Configuration](config/index.md)

docs/index.zh.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
hide:
3-
- navigation
43
- toc
4+
- navigation
55
---
6+
67
# 👋Welcome to ClashRS User Manual
78

89

@@ -33,6 +34,6 @@ ClashRS is a network proxy software that you can use to control how you want to
3334

3435
We've put together some helpful guides for you to get setup with our product quickly and easily.
3536

36-
[⌨️Getting set up](quick-start/index.md)
37+
[⌨️Getting set up](./quick-start/index.md)
3738

38-
[🔨Configuration](config/index.md)
39+
[🔨Configuration](../config/index.md)

mkdocs.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ theme:
1010
features:
1111
- search.highlight
1212
- navigation.tracking
13-
- navigation.instant
13+
# - navigation.instant
1414
# - navigation.expand
1515
- navigation.path
1616
- navigation.indexes
@@ -37,8 +37,7 @@ markdown_extensions:
3737
- pymdownx.snippets
3838

3939
nav:
40-
- Welcome:
41-
- index.md
40+
- Welcome: index.md
4241
- Quick start:
4342
- quick-start/index.md
4443
- CLI: quick-start/cli.md
@@ -48,10 +47,8 @@ nav:
4847
- Full Example: config/full.md
4948

5049
plugins:
51-
- search
50+
# - search
5251
# - awesome-pages
53-
- minify:
54-
minify_html: true
5552
- i18n:
5653
docs_structure: suffix
5754
fallback_to_default: true
@@ -62,6 +59,7 @@ plugins:
6259
default: true
6360
locale: en
6461
name: English
62+
site_name: "ClashRS User Mannual"
6563
- build: true
6664
default: false
6765
locale: zh

0 commit comments

Comments
 (0)