From 59fa9c178a3ae08356cba1bcbde3337bdd6ba34b Mon Sep 17 00:00:00 2001 From: peefy Date: Sun, 8 Oct 2023 22:37:51 +0800 Subject: [PATCH] fix: wrong kpm command for konfig library. --- docs/user_docs/guides/working-with-konfig/3-quick-start.md | 4 ++-- .../user_docs/guides/working-with-konfig/3-quick-start.md | 2 +- .../user_docs/guides/working-with-konfig/3-quick-start.md | 2 +- .../user_docs/guides/working-with-konfig/3-quick-start.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/user_docs/guides/working-with-konfig/3-quick-start.md b/docs/user_docs/guides/working-with-konfig/3-quick-start.md index 8eda3654d..fcc4745fe 100644 --- a/docs/user_docs/guides/working-with-konfig/3-quick-start.md +++ b/docs/user_docs/guides/working-with-konfig/3-quick-start.md @@ -40,7 +40,7 @@ The programming language of the project is KCL, not JSON/YAML which Kubernetes r Enter stack dir `examples/appops/nginx-example/dev` and compile: ```bash -cd appops/nginx-example/dev && kpm run +cd examples/appops/nginx-example/dev && kpm run ``` The output YAML is: @@ -126,7 +126,7 @@ The `image` attribute in the `Server` model is used to declare the application's Recompile the configuration code to obtain the modified YAML output: ```shell -kcl +kpm run ``` ```yaml diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-konfig/3-quick-start.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-konfig/3-quick-start.md index 6bace140d..0b0648927 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-konfig/3-quick-start.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-konfig/3-quick-start.md @@ -126,7 +126,7 @@ Server 模型中的 image 属性用于声明应用的业务容器镜像,我们 重新编译配置代码可以获得修改后的 YAML 输出: ```shell -kcl +kpm run ``` ```yaml diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.6.0/user_docs/guides/working-with-konfig/3-quick-start.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.6.0/user_docs/guides/working-with-konfig/3-quick-start.md index 6bace140d..0b0648927 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.6.0/user_docs/guides/working-with-konfig/3-quick-start.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.6.0/user_docs/guides/working-with-konfig/3-quick-start.md @@ -126,7 +126,7 @@ Server 模型中的 image 属性用于声明应用的业务容器镜像,我们 重新编译配置代码可以获得修改后的 YAML 输出: ```shell -kcl +kpm run ``` ```yaml diff --git a/versioned_docs/version-0.6.0/user_docs/guides/working-with-konfig/3-quick-start.md b/versioned_docs/version-0.6.0/user_docs/guides/working-with-konfig/3-quick-start.md index 8eda3654d..fcc4745fe 100644 --- a/versioned_docs/version-0.6.0/user_docs/guides/working-with-konfig/3-quick-start.md +++ b/versioned_docs/version-0.6.0/user_docs/guides/working-with-konfig/3-quick-start.md @@ -40,7 +40,7 @@ The programming language of the project is KCL, not JSON/YAML which Kubernetes r Enter stack dir `examples/appops/nginx-example/dev` and compile: ```bash -cd appops/nginx-example/dev && kpm run +cd examples/appops/nginx-example/dev && kpm run ``` The output YAML is: @@ -126,7 +126,7 @@ The `image` attribute in the `Server` model is used to declare the application's Recompile the configuration code to obtain the modified YAML output: ```shell -kcl +kpm run ``` ```yaml