Skip to content

Commit

Permalink
docs: update navigation style and fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoroustelevision authored and ReleTor committed Jan 21, 2025
1 parent 8cc7734 commit 816e6fe
Show file tree
Hide file tree
Showing 55 changed files with 79 additions and 55 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/dns/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/dns/index.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/dns/rule.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/dns/rule.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/dns/rule_action.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! question "Since sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/dns/rule_action.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! question "自 sing-box 1.11.0 起"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/endpoint/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! question "Since sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/endpoint/index.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! question "自 sing-box 1.11.0 起"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/endpoint/wireguard.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! question "Since sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/endpoint/wireguard.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! question "自 sing-box 1.11.0 起"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/experimental/clash-api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.10.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/experimental/clash-api.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.10.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/inbound/hysteria2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/alert-decagram
status: changed
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/inbound/hysteria2.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/alert-decagram
status: changed
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/inbound/tun.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/alert-decagram
status: changed
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/inbound/tun.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/alert-decagram
status: changed
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 2 additions & 0 deletions docs/configuration/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sing-box 使用 JSON 作为配置文件格式。
{
"log": {},
"dns": {},
"ntp": {},
"endpoints": [],
"inbounds": [],
"outbounds": [],
Expand All @@ -22,6 +23,7 @@ sing-box 使用 JSON 作为配置文件格式。
|----------------|------------------------|
| `log` | [日志](./log/) |
| `dns` | [DNS](./dns/) |
| `ntp` | [NTP](./ntp/) |
| `endpoints` | [端点](./endpoint/) |
| `inbounds` | [入站](./inbound/) |
| `outbounds` | [出站](./outbound/) |
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration/outbound/block.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "Deprecated in sing-box 1.11.0"
Expand All @@ -8,7 +8,7 @@ icon: material/delete-clock

### Structure

```json F
```json
{
"type": "block",
"tag": "block"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/block.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "已在 sing-box 1.11.0 废弃"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/direct.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/alert-decagram
status: changed
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/direct.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/alert-decagram
status: changed
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/dns.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "Deprecated in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/dns.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "已在 sing-box 1.11.0 废弃"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/hysteria2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/hysteria2.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/wireguard.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "Deprecated in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/outbound/wireguard.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "已在 sing-box 1.11.0 废弃"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/geoip.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "Deprecated in sing-box 1.8.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/geoip.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "已在 sing-box 1.8.0 废弃"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/geosite.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "Deprecated in sing-box 1.8.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/geosite.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! failure "已在 sing-box 1.8.0 废弃"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

# Route
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/index.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

# 路由
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/rule.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/rule.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/rule_action.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

## Final actions
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/rule_action.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

## 最终动作
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/sniff.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.10.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/route/sniff.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.10.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/rule-set/adguard.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! question "Since sing-box 1.10.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/rule-set/adguard.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! question "自 sing-box 1.10.0 起"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/rule-set/headless-rule.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/rule-set/headless-rule.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration/rule-set/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.10.0"
Expand Down Expand Up @@ -74,7 +74,7 @@ Tag of rule-set.

==Required==

List of [Headless Rule](../headless-rule/).
List of [Headless Rule](./headless-rule/).

### Local or Remote Fields

Expand Down
4 changes: 2 additions & 2 deletions docs/configuration/rule-set/index.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.10.0 中的更改"
Expand Down Expand Up @@ -74,7 +74,7 @@ icon: material/new-box

==必填==

一组 [无头规则](../headless-rule/).
一组 [无头规则](./headless-rule/).

### 本地或远程字段

Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/rule-set/source-format.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/rule-set/source-format.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/shared/dial.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/shared/dial.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/new-box
status: new
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/shared/listen.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! quote "Changes in sing-box 1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/shared/listen.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/delete-clock
status: deprecated
---

!!! quote "sing-box 1.11.0 中的更改"
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/shared/tls.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: material/alert-decagram
status: changed
---

!!! quote "Changes in sing-box 1.10.0"
Expand Down
Loading

0 comments on commit 816e6fe

Please sign in to comment.