documentation: Fixes

This commit is contained in:
ReleTor 2025-02-10 14:33:41 +08:00 committed by GitHub
parent cf89b24a2c
commit 5203129b9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 93 additions and 77 deletions

View File

@ -11,13 +11,15 @@ icon: material/new-box
```json ```json
{ {
"dns": { "dns": {
"servers": { "servers": [
{
"type": "fakeip", "type": "fakeip",
"tag": "", "tag": "",
"inet4_range": "198.18.0.0/15", "inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18" "inet6_range": "fc00::/18"
} }
]
} }
} }
``` ```

View File

@ -11,7 +11,8 @@ icon: material/new-box
```json ```json
{ {
"dns": { "dns": {
"servers": { "servers": [
{
"type": "h3", "type": "h3",
"tag": "", "tag": "",
@ -25,6 +26,7 @@ icon: material/new-box
// Dial Fields // Dial Fields
} }
]
} }
} }
``` ```

View File

@ -11,7 +11,8 @@ icon: material/new-box
```json ```json
{ {
"dns": { "dns": {
"servers": { "servers": [
{
"type": "https", "type": "https",
"tag": "", "tag": "",
@ -25,6 +26,7 @@ icon: material/new-box
// Dial Fields // Dial Fields
} }
]
} }
} }
``` ```

View File

@ -11,7 +11,8 @@ icon: material/new-box
```json ```json
{ {
"dns": { "dns": {
"servers": { "servers": [
{
"type": "quic", "type": "quic",
"tag": "", "tag": "",
@ -22,6 +23,7 @@ icon: material/new-box
// Dial Fields // Dial Fields
} }
]
} }
} }
``` ```

View File

@ -11,7 +11,8 @@ icon: material/new-box
```json ```json
{ {
"dns": { "dns": {
"servers": { "servers": [
{
"type": "tcp", "type": "tcp",
"tag": "", "tag": "",
@ -20,6 +21,7 @@ icon: material/new-box
// Dial Fields // Dial Fields
} }
]
} }
} }
``` ```

View File

@ -11,7 +11,8 @@ icon: material/new-box
```json ```json
{ {
"dns": { "dns": {
"servers": { "servers": [
{
"type": "tls", "type": "tls",
"tag": "", "tag": "",
@ -22,6 +23,7 @@ icon: material/new-box
// Dial Fields // Dial Fields
} }
]
} }
} }
``` ```

View File

@ -11,7 +11,8 @@ icon: material/new-box
```json ```json
{ {
"dns": { "dns": {
"servers": { "servers": [
{
"type": "udp", "type": "udp",
"tag": "", "tag": "",
@ -20,6 +21,7 @@ icon: material/new-box
// Dial Fields // Dial Fields
} }
]
} }
} }
``` ```

View File

@ -8,6 +8,7 @@ sing-box 使用 JSON 作为配置文件格式。
{ {
"log": {}, "log": {},
"dns": {}, "dns": {},
"ntp": {},
"endpoints": [], "endpoints": [],
"inbounds": [], "inbounds": [],
"outbounds": [], "outbounds": [],
@ -22,6 +23,7 @@ sing-box 使用 JSON 作为配置文件格式。
|----------------|------------------------| |----------------|------------------------|
| `log` | [日志](./log/) | | `log` | [日志](./log/) |
| `dns` | [DNS](./dns/) | | `dns` | [DNS](./dns/) |
| `ntp` | [NTP](./ntp/) |
| `endpoints` | [端点](./endpoint/) | | `endpoints` | [端点](./endpoint/) |
| `inbounds` | [入站](./inbound/) | | `inbounds` | [入站](./inbound/) |
| `outbounds` | [出站](./outbound/) | | `outbounds` | [出站](./outbound/) |

View File

@ -8,7 +8,7 @@ icon: material/delete-clock
### Structure ### Structure
```json F ```json
{ {
"type": "block", "type": "block",
"tag": "block" "tag": "block"

View File

@ -70,7 +70,7 @@ Tag of rule-set.
==Required== ==Required==
List of [Headless Rule](../headless-rule/). List of [Headless Rule](./headless-rule/).
### Local or Remote Fields ### Local or Remote Fields

View File

@ -70,7 +70,7 @@
==必填== ==必填==
一组 [无头规则](../headless-rule/). 一组 [无头规则](./headless-rule/).
### 本地或远程字段 ### 本地或远程字段