Skip to content

Commit 9372213

Browse files
committed
docs: update the override spec form
Signed-off-by: peefy <[email protected]>
1 parent cded73a commit 9372213

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/user_docs/guides/automation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ override_spec: [[pkgpath] ":"] identifier ("=" value | "-")
8282
```
8383

8484
- `pkgpath`: indicates the package path where the identifier needs to be modified, usually in the form of `a.b.c`. For the main package,`pkgpath` is represented as `__ main__`. When omitted or not written, it indicates the main package
85-
- `identifier` indicates the identifier that needs to modify the configuration, usually in the form of `a.b.c`.
85+
- `identifier` indicates the identifier that needs to modify the configuration, usually in the form of `a.b.c` or `a["dot.key"].c`
8686
- `value` indicates the value of the configuration that needs to be modified, which can be any legal KCL expression, such as number/string literal value, list/dict/schema expression, etc.
8787
- `=` denotes modifying of the value of the identifier.
8888
- `-` denotes deleting of the identifier.

i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/automation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ override_spec: [[pkgpath] ":"] identifier ("=" value | "-")
8080
```
8181

8282
- `pkgpath`: 表示需要修改标识符的包路径,通常为 `a.b.c` 的形式,对于 main 包,`pkgpath` 表示为 `__main__`, 可省略,省略不写时表示 main 包
83-
- `identifier`: 表示需要修改配置的标识符,通常为 `a.b.c` 的形式
83+
- `identifier`: 表示需要修改配置的标识符,通常为 `a.b.c` 的形式或者 `a["dot.key"].c` 的形式
8484
- `value`: 表示需要修改配置的值,可以是任意合法的 KCL 表达式,比如数字/字符串字面值,`list`/`dict`/`schema` 表达式等
8585
- `=`: 表示修改identifier的值
8686
- `-`: 表示删除 identifier 属性

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.8/user_docs/guides/automation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ override_spec: [[pkgpath] ":"] identifier ("=" value | "-")
8080
```
8181

8282
- `pkgpath`: 表示需要修改标识符的包路径,通常为 `a.b.c` 的形式,对于 main 包,`pkgpath` 表示为 `__main__`, 可省略,省略不写时表示 main 包
83-
- `identifier`: 表示需要修改配置的标识符,通常为 `a.b.c` 的形式
83+
- `identifier`: 表示需要修改配置的标识符,通常为 `a.b.c` 的形式或者 `a["dot.key"].c` 的形式
8484
- `value`: 表示需要修改配置的值,可以是任意合法的 KCL 表达式,比如数字/字符串字面值,`list`/`dict`/`schema` 表达式等
8585
- `=`: 表示修改identifier的值
8686
- `-`: 表示删除 identifier 属性

versioned_docs/version-0.8/user_docs/guides/automation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ override_spec: [[pkgpath] ":"] identifier ("=" value | "-")
8282
```
8383

8484
- `pkgpath`: indicates the package path where the identifier needs to be modified, usually in the form of `a.b.c`. For the main package,`pkgpath` is represented as `__ main__`. When omitted or not written, it indicates the main package
85-
- `identifier` indicates the identifier that needs to modify the configuration, usually in the form of `a.b.c`.
85+
- `identifier` indicates the identifier that needs to modify the configuration, usually in the form of `a.b.c` or `a["dot.key"].c`
8686
- `value` indicates the value of the configuration that needs to be modified, which can be any legal KCL expression, such as number/string literal value, list/dict/schema expression, etc.
8787
- `=` denotes modifying of the value of the identifier.
8888
- `-` denotes deleting of the identifier.

0 commit comments

Comments
 (0)