Skip to content

Commit 4313849

Browse files
committed
docs: refine kcl intro documents.
1 parent 4e5ce9b commit 4313849

File tree

14 files changed

+14
-14
lines changed
  • blog/2022-09-15-declarative-config-overview
  • docs/user_docs/getting-started
  • i18n/zh-CN
    • docusaurus-plugin-content-blog/2022-09-15-declarative-config-overview
    • docusaurus-plugin-content-docs
      • current/user_docs/getting-started
      • version-0.4.3/user_docs/getting-started
      • version-0.4.4/user_docs/getting-started
      • version-0.4.5/user_docs/getting-started
      • version-0.4.6/user_docs/getting-started
      • version-0.5.0/user_docs/getting-started
  • versioned_docs
    • version-0.4.3/user_docs/getting-started
    • version-0.4.4/user_docs/getting-started
    • version-0.4.5/user_docs/getting-started
    • version-0.4.6/user_docs/getting-started
    • version-0.5.0/user_docs/getting-started

14 files changed

+14
-14
lines changed

blog/2022-09-15-declarative-config-overview/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Fig. 5: KCL core features.
187187
- **API affinity**: Native support API ecological specifications such as [OpenAPI](https://github.com/kcl-lang/kcl-openapi), Kubernetes CRD, Kubernetes YAML spec.
188188
- **Development friendly**: Friendly development experiences with rich [language tools](https://kcl-lang.io/docs/tools/cli/kcl/) (Format, Lint, Test, Vet, Doc, etc.) and [IDE plugins](https://github.com/kcl-lang/vscode-kcl).
189189
- **Safety & maintainable**: Domain-oriented, no system-level functions such as native threads and IO, low noise and security risk, easy maintenance and governance.
190-
- **Rich multi-language API**: Rich multilingual API: [Go](https://kcl-lang.io/docs/reference/xlang-api/go-api), [Python](https://kcl-lang.io/docs/reference/xlang-api/python-api) and [REST APIs](https://kcl-lang.io/docs/reference/xlang-api/rest-api) meet different scenarios and application use prelude.
190+
- **Rich multi-language SDK**: [Go](https://kcl-lang.io/docs/reference/xlang-api/go-api), [Python](https://kcl-lang.io/docs/reference/xlang-api/python-api) and [REST APIs](https://kcl-lang.io/docs/reference/xlang-api/rest-api) meet different scenarios and application use prelude.
191191
- **Production-ready**: Widely used in production practice of platform engineering and automation at Ant Group.
192192

193193
![](/img/blog/2022-09-15-declarative-config-overview/06-kcl-code-design.png)

docs/user_docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In summary, KCL has the following characteristics:
5050
+ **API affinity**: Native support API ecological specifications such as [OpenAPI](https://kcl-lang.github.io/docs/tools/cli/openapi/), Kubernetes CRD, Kubernetes YAML spec.
5151
+ **Development friendly**: Friendly development experiences with rich [language tools](https://kcl-lang.github.io/docs/tools/cli/kcl/overview) (Format, Lint, Test, Vet, Doc, etc.) and [IDE extensions](https://kcl-lang.github.io/docs/tools/Ide/).
5252
+ **Safety & maintainable**: Domain-oriented, no system-level functions such as native threads and IO, low noise and security risk, easy maintenance and governance.
53-
+ **Rich multi-language API**: Rich multilingual API: [Go](https://kcl-lang.io/docs/reference/xlang-api/go-api), [Python](https://kcl-lang.io/docs/reference/xlang-api/python-api), [Java](https://kcl-lang.io/docs/reference/xlang-api/java-api) and [REST APIs](https://kcl-lang.io/docs/reference/xlang-api/rest-api) meet different scenarios and application use prelude.
53+
+ **Rich multi-language SDK**: [Go](https://kcl-lang.io/docs/reference/xlang-api/go-api), [Python](https://kcl-lang.io/docs/reference/xlang-api/python-api), [Java](https://kcl-lang.io/docs/reference/xlang-api/java-api) and [REST APIs](https://kcl-lang.io/docs/reference/xlang-api/rest-api) meet different scenarios and application use prelude.
5454
+ **Kubernetes Integrations**: External mutation and validation plugins including [Kustomize KCL Plugin](https://github.com/kcl-lang/kustomize-kcl), [Helm KCL Plugin](https://github.com/kcl-lang/helm-kcl), [KPT KCL SDK](https://github.com/kcl-lang/kpt-kcl-sdk), [Kubectl KCL Plugin](https://github.com/kcl-lang/kubectl-kcl) to separate data and logic.
5555
+ **Production-ready**: Widely used in production practice of platform engineering and automation at Ant Group.
5656

i18n/zh-CN/docusaurus-plugin-content-blog/2022-09-15-declarative-config-overview/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ KCL 的核心特性是其**建模**和**约束**能力,KCL 核心功能基本
183183
- **API 亲和**:原生支持 [OpenAPI](https://github.com/kcl-lang/kcl-openapi)、 Kubernetes CRD, Kubernetes YAML 等 API 生态规范
184184
- **开发友好**[语言工具](https://kcl-lang.io/docs/tools/cli/kcl/) (Format,Lint,Test,Vet,Doc 等)、 [IDE 插件](https://github.com/kcl-lang/vscode-kcl) 构建良好的研发体验
185185
- **安全可控**:面向领域,不原生提供线程、IO 等系统级功能,低噪音,低安全风险,易维护,易治理
186-
- **多语言API**[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api), [Python](https://kcl-lang.io/docs/reference/xlang-api/python-api)[REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
186+
- **多语言 SDK**[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api), [Python](https://kcl-lang.io/docs/reference/xlang-api/python-api)[REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
187187
- **生产可用**:广泛应用在蚂蚁集团平台工程及自动化的生产环境实践中
188188

189189
![](/img/blog/2022-09-15-declarative-config-overview/06-kcl-code-design.png)

i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ KCL 试图提供独立于运行时的可编程性,不在本地提供线程和I
5252
+ **API 亲和**:原生支持 [OpenAPI](https://github.com/kcl-lang/kcl-openapi)、 Kubernetes CRD, Kubernetes YAML 等 API 生态规范
5353
+ **开发友好**[语言工具](https://kcl-lang.io/docs/tools/cli/kcl/) (Format,Lint,Test,Vet,Doc 等)、 [IDE 插件](https://github.com/kcl-lang/vscode-kcl) 构建良好的研发体验
5454
+ **安全可控**:面向领域,不原生提供线程、IO 等系统级功能,低噪音,低安全风险,易维护,易治理
55-
+ **多语言API**[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api)[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api)[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api)[REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
55+
+ **多语言 SDK**[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api)[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api)[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api)[REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
5656
+ **生态集成**:通过 [Kustomize KCL 插件](https://github.com/kcl-lang/kustomize-kcl), [Helm KCL 插件](https://github.com/kcl-lang/helm-kcl) 或者 [KPT KCL SDK](https://github.com/kcl-lang/kpt-kcl-sdk) 直接编辑或校验资源
5757
+ **生产可用**:广泛应用在蚂蚁集团平台工程及自动化的生产环境实践中
5858

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.4.3/user_docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ KCL 试图提供独立于运行时的可编程性,不在本地提供线程和I
147147
+ **API 亲和**:原生支持 [OpenAPI](https://github.com/kcl-lang/kcl-openapi)、 Kubernetes CRD, Kubernetes YAML 等 API 生态规范
148148
+ **开发友好**:[语言工具](https://kcl-lang.io/docs/tools/cli/kcl/) (Format,Lint,Test,Vet,Doc 等)、 [IDE 插件](https://github.com/kcl-lang/vscode-kcl) 构建良好的研发体验
149149
+ **安全可控**:面向领域,不原生提供线程、IO 等系统级功能,低噪音,低安全风险,易维护,易治理
150-
+ **多语言API**:[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api),[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api),[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api) 和 [REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
150+
+ **多语言 SDK**:[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api),[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api),[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api) 和 [REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
151151
+ **生态集成**:通过 [Kustomize KCL 插件](https://github.com/kcl-lang/kustomize-kcl), [Helm KCL 插件](https://github.com/kcl-lang/helm-kcl) 或者 [KPT KCL SDK](https://github.com/kcl-lang/kpt-kcl-sdk) 直接编辑或校验资源
152152
+ **生产可用**:广泛应用在蚂蚁集团平台工程及自动化的生产环境实践中
153153

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.4.4/user_docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ KCL 试图提供独立于运行时的可编程性,不在本地提供线程和I
147147
+ **API 亲和**:原生支持 [OpenAPI](https://github.com/kcl-lang/kcl-openapi)、 Kubernetes CRD, Kubernetes YAML 等 API 生态规范
148148
+ **开发友好**:[语言工具](https://kcl-lang.io/docs/tools/cli/kcl/) (Format,Lint,Test,Vet,Doc 等)、 [IDE 插件](https://github.com/kcl-lang/vscode-kcl) 构建良好的研发体验
149149
+ **安全可控**:面向领域,不原生提供线程、IO 等系统级功能,低噪音,低安全风险,易维护,易治理
150-
+ **多语言API**:[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api),[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api),[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api) 和 [REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
150+
+ **多语言 SDK**:[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api),[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api),[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api) 和 [REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
151151
+ **生态集成**:通过 [Kustomize KCL 插件](https://github.com/kcl-lang/kustomize-kcl), [Helm KCL 插件](https://github.com/kcl-lang/helm-kcl) 或者 [KPT KCL SDK](https://github.com/kcl-lang/kpt-kcl-sdk) 直接编辑或校验资源
152152
+ **生产可用**:广泛应用在蚂蚁集团平台工程及自动化的生产环境实践中
153153

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.4.5/user_docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ KCL 试图提供独立于运行时的可编程性,不在本地提供线程和I
147147
+ **API 亲和**:原生支持 [OpenAPI](https://github.com/kcl-lang/kcl-openapi)、 Kubernetes CRD, Kubernetes YAML 等 API 生态规范
148148
+ **开发友好**:[语言工具](https://kcl-lang.io/docs/tools/cli/kcl/) (Format,Lint,Test,Vet,Doc 等)、 [IDE 插件](https://github.com/kcl-lang/vscode-kcl) 构建良好的研发体验
149149
+ **安全可控**:面向领域,不原生提供线程、IO 等系统级功能,低噪音,低安全风险,易维护,易治理
150-
+ **多语言API**:[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api),[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api),[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api) 和 [REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
150+
+ **多语言 SDK**:[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api),[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api),[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api) 和 [REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
151151
+ **生态集成**:通过 [Kustomize KCL 插件](https://github.com/kcl-lang/kustomize-kcl), [Helm KCL 插件](https://github.com/kcl-lang/helm-kcl) 或者 [KPT KCL SDK](https://github.com/kcl-lang/kpt-kcl-sdk) 直接编辑或校验资源
152152
+ **生产可用**:广泛应用在蚂蚁集团平台工程及自动化的生产环境实践中
153153

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.4.6/user_docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ KCL 试图提供独立于运行时的可编程性,不在本地提供线程和I
5252
+ **API 亲和**:原生支持 [OpenAPI](https://github.com/kcl-lang/kcl-openapi)、 Kubernetes CRD, Kubernetes YAML 等 API 生态规范
5353
+ **开发友好**[语言工具](https://kcl-lang.io/docs/tools/cli/kcl/) (Format,Lint,Test,Vet,Doc 等)、 [IDE 插件](https://github.com/kcl-lang/vscode-kcl) 构建良好的研发体验
5454
+ **安全可控**:面向领域,不原生提供线程、IO 等系统级功能,低噪音,低安全风险,易维护,易治理
55-
+ **多语言API**[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api)[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api)[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api)[REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
55+
+ **多语言 SDK**[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api)[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api)[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api)[REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
5656
+ **生态集成**:通过 [Kustomize KCL 插件](https://github.com/kcl-lang/kustomize-kcl), [Helm KCL 插件](https://github.com/kcl-lang/helm-kcl) 或者 [KPT KCL SDK](https://github.com/kcl-lang/kpt-kcl-sdk) 直接编辑或校验资源
5757
+ **生产可用**:广泛应用在蚂蚁集团平台工程及自动化的生产环境实践中
5858

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.5.0/user_docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ KCL 试图提供独立于运行时的可编程性,不在本地提供线程和I
5252
+ **API 亲和**:原生支持 [OpenAPI](https://github.com/kcl-lang/kcl-openapi)、 Kubernetes CRD, Kubernetes YAML 等 API 生态规范
5353
+ **开发友好**[语言工具](https://kcl-lang.io/docs/tools/cli/kcl/) (Format,Lint,Test,Vet,Doc 等)、 [IDE 插件](https://github.com/kcl-lang/vscode-kcl) 构建良好的研发体验
5454
+ **安全可控**:面向领域,不原生提供线程、IO 等系统级功能,低噪音,低安全风险,易维护,易治理
55-
+ **多语言API**[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api)[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api)[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api)[REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
55+
+ **多语言 SDK**[Go](https://kcl-lang.io/docs/reference/xlang-api/go-api)[Python](https://kcl-lang.io/docs/reference/xlang-api/python-api)[Java](https://kcl-lang.io/docs/reference/xlang-api/java-api)[REST API](https://kcl-lang.io/docs/reference/xlang-api/rest-api) 满足不同场景和应用使用需求
5656
+ **生态集成**:通过 [Kustomize KCL 插件](https://github.com/kcl-lang/kustomize-kcl), [Helm KCL 插件](https://github.com/kcl-lang/helm-kcl) 或者 [KPT KCL SDK](https://github.com/kcl-lang/kpt-kcl-sdk) 直接编辑或校验资源
5757
+ **生产可用**:广泛应用在蚂蚁集团平台工程及自动化的生产环境实践中
5858

versioned_docs/version-0.4.3/user_docs/getting-started/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Unlike client runtime written in GPL, KCL programs usually run and generate low-
145145
+ **API affinity**: Native support API ecological specifications such as [OpenAPI](https://kcl-lang.github.io/docs/tools/cli/openapi/), Kubernetes CRD, Kubernetes YAML spec.
146146
+ **Development friendly**: Friendly development experiences with rich [language tools](https://kcl-lang.github.io/docs/tools/cli/kcl/overview) (Format, Lint, Test, Vet, Doc, etc.) and [IDE plugins](https://kcl-lang.github.io/docs/tools/Ide/).
147147
+ **Safety & maintainable**: Domain-oriented, no system-level functions such as native threads and IO, low noise and security risk, easy maintenance and governance.
148-
+ **Rich multi-language API**: Rich multilingual API: [Go](https://kcl-lang.io/docs/reference/xlang-api/go-api), [Python](https://kcl-lang.io/docs/reference/xlang-api/python-api) and [REST APIs](https://kcl-lang.io/docs/reference/xlang-api/rest-api) meet different scenarios and application use prelude.
148+
+ **Rich multi-language SDK**: [Go](https://kcl-lang.io/docs/reference/xlang-api/go-api), [Python](https://kcl-lang.io/docs/reference/xlang-api/python-api) and [REST APIs](https://kcl-lang.io/docs/reference/xlang-api/rest-api) meet different scenarios and application use prelude.
149149
+ **Production-ready**: Widely used in production practice of platform engineering and automation at Ant Group.
150150

151151
For more language design and capabilities, see [KCL Documents](https://kcl-lang.github.io/docs/reference/lang/tour). Although KCL is not a general language, it has corresponding application scenarios. Developers can write **config**, **schema**, **function** and **rule** through KCL, where config is used to define data, schema is used to describe the model definition of data, rule is used to validate data, and schema and rule can also be combined to use models and constraints that fully describe data, In addition, we can also use the lambda pure function in KCL to organize data code, encapsulate common code, and call it directly when needed.

0 commit comments

Comments
 (0)