Skip to content

Commit

Permalink
chore: sync latest doc to v0.6.0 doc
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Oct 17, 2023
1 parent 1d29179 commit 7a5a4d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2485,7 +2485,7 @@ schema Data:
labels: {str:} = {key1 = [0, 1, 3]}
data = Data {
# insert [2] after the index 1 of the attribute labels.key1 of the schema Data.
# insert [3] after the index 1 of the attribute labels.key1 of the schema Data.
labels: {key1[1] += [2]}
}
```
Expand Down Expand Up @@ -2710,7 +2710,7 @@ allow = Allow() or False

### 模块

KCL 配置文件以 **模块module** 形式组织。 单个 KCL 文件被认为是一个模块,一个目录被认为是一个包。
KCL 配置文件以 **模块 (module)** 形式组织。 单个 KCL 文件被认为是一个模块,一个目录被认为是一个包。

同一个包内的模块是可见的,跨包引用需要通过导入可见。

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.6.0/reference/lang/tour.md
Original file line number Diff line number Diff line change
Expand Up @@ -2550,7 +2550,7 @@ schema Data:
data = Data {
# insert [2] after the index 1 of the attribute labels.key1 of the schema Data.
labels: {key1 += [2]}
labels: {key1[1] += [2]}
}
```

Expand Down

0 comments on commit 7a5a4d1

Please sign in to comment.