diff --git a/docs/config/rule-providers/index.en.md b/docs/config/rule-providers/index.en.md index 02481093..614e6cc7 100644 --- a/docs/config/rule-providers/index.en.md +++ b/docs/config/rule-providers/index.en.md @@ -4,7 +4,7 @@ rule-providers: google: type: http - path: ./rule1.yaml + path: ./rule1.yaml url: "https://raw.githubusercontent.com/../Google.yaml" interval: 600 proxy: DIRECT @@ -19,7 +19,7 @@ Required, such as `google`, must be unique. ## type -Required, `provider` type, options are `http` / `file`. +Required, `provider` type, options are `http` / `file` / `inline`. ## url @@ -45,7 +45,7 @@ Behavior, options are `domain` / `ipcidr` / `classical`, corresponding to differ ## format -Format, options are `yaml` / `text` / `mrs`/`inline`, default is `yaml`. +Format, options are `yaml` / `text` / `mrs`, default is `yaml`. Currently, `mrs` behavior only supports `domain` / `ipcidr`. You can convert using `mihomo convert-ruleset domain/ipcidr yaml/text XXX.yaml XXX.mrs`. @@ -55,4 +55,4 @@ The maximum size of downloadable files is restricted, with the default being 0, ## payload -Content, only effective when `format` is `inline` +Content, only effective when `type` is `inline` diff --git a/docs/config/rule-providers/index.md b/docs/config/rule-providers/index.md index a779a5c7..49966355 100644 --- a/docs/config/rule-providers/index.md +++ b/docs/config/rule-providers/index.md @@ -4,7 +4,7 @@ rule-providers: google: type: http - path: ./rule1.yaml + path: ./rule1.yaml url: "https://raw.githubusercontent.com/../Google.yaml" interval: 600 proxy: DIRECT @@ -21,7 +21,7 @@ rule-providers: ## type -必须,`provider`类型,可选`http` / `file` +必须,`provider`类型,可选`http` / `file` / `inline` ## url @@ -47,7 +47,7 @@ rule-providers: ## format -格式,可选 `yaml`/`text`/`mrs`/`inline`,默认 `yaml` +格式,可选 `yaml`/`text`/`mrs`,默认 `yaml` `mrs`目前 `behavior` 仅支持 `domain`/`ipcidr`,可以通过`mihomo convert-ruleset domain/ipcidr yaml/text XXX.yaml XXX.mrs`转换得到 @@ -57,4 +57,4 @@ rule-providers: ## payload -内容,仅 `format` 为 `inline` 时生效 +内容,仅 `type` 为 `inline` 时生效