diff --git a/blog/2024-02-05-lfx-guide/index.md b/blog/2024-02-05-lfx-guide/index.md index acbbfd95..f006c461 100644 --- a/blog/2024-02-05-lfx-guide/index.md +++ b/blog/2024-02-05-lfx-guide/index.md @@ -9,8 +9,8 @@ tags: [KCL, LFX-Mentorship] [KCL](https://github.com/kcl-lang) is a constraint-based record and functional language hosted by Cloud Native Computing Foundation (CNCF) that enhances the writing of complex configurations, including those for cloud-native scenarios. With its advanced programming language technology and practices, KCL is dedicated to promoting better modularity, scalability, and stability for configurations. It enables simpler logic writing and offers ease of automation APIs and integration with homegrown systems. -+ **_KCL Website: [https://kcl-lang.io](https://kcl-lang.io)_** -+ **_KCL Github Repo: [https://github.com/kcl-lang](https://github.com/kcl-lang)_** +- **_KCL Website: [https://kcl-lang.io](https://kcl-lang.io)_** +- **_KCL Github Repo: [https://github.com/kcl-lang](https://github.com/kcl-lang)_** For those interested in cloud-native, platform engineering,compiler, package management tools, and IDEs, we invite you to apply for the 2024 Spring Linux Foundation LFX Mentorship project. You can earn a minimum of $3000 for completing the project! Apply now! diff --git a/blog/2024-03-06-kcl-0.8.0-release/index.md b/blog/2024-03-06-kcl-0.8.0-release/index.md index 993e3261..f568e6d5 100644 --- a/blog/2024-03-06-kcl-0.8.0-release/index.md +++ b/blog/2024-03-06-kcl-0.8.0-release/index.md @@ -142,24 +142,24 @@ The compiled result is as follows. ```yaml r0: -- foo: a -- bar: b + - foo: a + - bar: b r1: -- a: foo -- b: bar + - a: foo + - b: bar r2: -- a: - foo: foo -- b: - foo: bar + - a: + foo: foo + - b: + foo: bar r3: -- - a -- - b + - - a + - - b r4: -- - a - - foo -- - b - - bar + - - a + - foo + - - b + - bar ``` ### 🚀 Diagnostic Optimization @@ -400,9 +400,9 @@ Take `hello.json` as an example, we will verify the content of the json file thr ```json { - "name": 10, - "age": 18, - "message": "This is Alice" + "name": 10, + "age": 18, + "message": "This is Alice" } ``` @@ -480,7 +480,7 @@ kcl mod add set-annotation In the KCL program, you can reference it through `set_annotation`. ```kcl -import set_annotation +import set_annotation ``` ### KCL Import Tool @@ -574,17 +574,17 @@ More details: Thanks to the community friends for their contributions to KCL v0.8.0. The following list is in no particular order: -+ Thanks to @professorabhay for supporting the testing of the Diff feature in KCL 🙌 -+ Thanks to @jakezhu9 for the continuous contribution to the kcl import tool 🤝 -+ Thanks to @octonawish-akcodes for the continuous contributions to KCL code cleanup and FAQ documentation 🙌 -+ Thanks to @satyazzz123 for contributing to the support of reading environment variables in KRM KCL 🙌 -+ Thanks to @AkashKumar7902 for the contributions to the package management tool feature in KCL 🙌 -+ Thanks to @UtkarshUmre for the contribution to the KCL linux-arm64 build CI 🙌 -+ Thanks to @octonawish-akcodes and @d4v1d03 for the continuous contributions to KCL FAQ documentation and KCL IDE feature 🙌 -+ Thanks to @octonawish-akcodes for the contribution to the Ansible KCL Module -+ Thanks to @AkashKumar7902 and @Vanshikav123 for the contributions to the package management tool feature in KCL 🙌 -+ Thanks to @StevenLeiZhang for the contributions to KCL documentation and KCL plugin -+ Thanks to @patrycju, @Callum Lyall, @Matt Gowie, @ShiroDN, @FLAGLORD, @YiuTerran, @flyinox, @steeling, @Anoop, @Even Solberg, @Phillip Neumann, @Naxe, @rozaliev, @CloudZero357, @martingreber, @az, @Art3mK, @Erick, @TheChinBot, @Evgeny Shepelyuk, @yonas, @vtomilov, @Fdall, @bozaro, @starkers, and @MrGuoRanDuo for their valuable suggestions and feedback during the iteration process of KCL v0.8 🙌 +- Thanks to @professorabhay for supporting the testing of the Diff feature in KCL 🙌 +- Thanks to @jakezhu9 for the continuous contribution to the kcl import tool 🤝 +- Thanks to @octonawish-akcodes for the continuous contributions to KCL code cleanup and FAQ documentation 🙌 +- Thanks to @satyazzz123 for contributing to the support of reading environment variables in KRM KCL 🙌 +- Thanks to @AkashKumar7902 for the contributions to the package management tool feature in KCL 🙌 +- Thanks to @UtkarshUmre for the contribution to the KCL linux-arm64 build CI 🙌 +- Thanks to @octonawish-akcodes and @d4v1d03 for the continuous contributions to KCL FAQ documentation and KCL IDE feature 🙌 +- Thanks to @octonawish-akcodes for the contribution to the Ansible KCL Module +- Thanks to @AkashKumar7902 and @Vanshikav123 for the contributions to the package management tool feature in KCL 🙌 +- Thanks to @StevenLeiZhang for the contributions to KCL documentation and KCL plugin +- Thanks to @patrycju, @Callum Lyall, @Matt Gowie, @ShiroDN, @FLAGLORD, @YiuTerran, @flyinox, @steeling, @Anoop, @Even Solberg, @Phillip Neumann, @Naxe, @rozaliev, @CloudZero357, @martingreber, @az, @Art3mK, @Erick, @TheChinBot, @Evgeny Shepelyuk, @yonas, @vtomilov, @Fdall, @bozaro, @starkers, and @MrGuoRanDuo for their valuable suggestions and feedback during the iteration process of KCL v0.8 🙌 ## Next Steps diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-02-05-lfx-guide/index.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-02-05-lfx-guide/index.md index f8b65f20..358f0778 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-02-05-lfx-guide/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-02-05-lfx-guide/index.md @@ -9,8 +9,8 @@ tags: [KCL, Biweekly-Newsletter] [KCL](https://github.com/kcl-lang) 是一个 CNCF 基金会托管的基于约束的记录及函数语言,期望通过成熟的编程语言技术和实践来改进对大量繁杂配置比如云原生 Kubernetes 配置场景的编写,致力于构建围绕配置的更好的模块化、扩展性和稳定性,更简单的逻辑编写,以及更简单的自动化和生态工具集成。 -+ **_KCL 官网:[https://kcl-lang.io](https://kcl-lang.io)_** -+ **_KCL Github 仓库:[https://github.com/kcl-lang](https://github.com/kcl-lang)_** +- **_KCL 官网:[https://kcl-lang.io](https://kcl-lang.io)_** +- **_KCL Github 仓库:[https://github.com/kcl-lang](https://github.com/kcl-lang)_** 对云原生、平台工程、语言编译器、语言包管理工具和语言 IDE 感兴趣的小伙伴,我们邀请你申请 KCL 的 2024 春季 Linux 基金会 LFX Mentorship 项目,完成项目有最低 3000 美金的奖励哦!快来申请吧! diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-03-06-kcl-0.8.0-release/index.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-03-06-kcl-0.8.0-release/index.md index 4c83a8b7..08ee7c8d 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-03-06-kcl-0.8.0-release/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-03-06-kcl-0.8.0-release/index.md @@ -100,7 +100,7 @@ manifests.yaml_stream([x0, x1]) name = "volume" configMapVolumes1: {str:{str:}} = { name = { - name = name + name = name } for _ in range(1) } @@ -210,24 +210,24 @@ r4 = [[k, v] for k, v in _data] ```yaml r0: -- foo: a -- bar: b + - foo: a + - bar: b r1: -- a: foo -- b: bar + - a: foo + - b: bar r2: -- a: - foo: foo -- b: - foo: bar + - a: + foo: foo + - b: + foo: bar r3: -- - a -- - b + - - a + - - b r4: -- - a - - foo -- - b - - bar + - - a + - foo + - - b + - bar ``` ### 🔧 诊断信息的优化 @@ -468,9 +468,9 @@ IDE 通过 KCL 新语义模型支持增量解析和异步编译功能,提升 ```json { - "name": 10, - "age": 18, - "message": "This is Alice" + "name": 10, + "age": 18, + "message": "This is Alice" } ``` @@ -539,7 +539,7 @@ kcl mod add -git https://github.com/KusionStack/catalog.git -commit a29e3db #### KCL 包管理工具支持三方库名称带有“-” -KCL 包管理工具支持三方库名称中带有“-”,KCL 包管理工具会自动将 “-” 替换为 “_”。 +KCL 包管理工具支持三方库名称中带有“-”,KCL 包管理工具会自动将 “-” 替换为 “\_”。 以三方库 `set-annotation` 为例,通过以下命令添加 `set-annotation` 为依赖: @@ -550,7 +550,7 @@ kcl mod add set-annotation 在 KCL 程序中,通过 `set_annotation` 引用: ```kcl -import set_annotation +import set_annotation ``` ### KCL 导入工具更新,支持更多特性