From addc7ddf3a0132f3f6632d0503e77685beda9f51 Mon Sep 17 00:00:00 2001 From: Kevin Nadro Date: Thu, 29 Oct 2026 14:35:34 -0500 Subject: [PATCH 1/3] fix: updating documentation for the new website code --- src/cmd_kcl.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/cmd_kcl.rs b/src/cmd_kcl.rs index 4620ec42..21baf999 100644 --- a/src/cmd_kcl.rs +++ b/src/cmd_kcl.rs @@ -1118,11 +1118,14 @@ pub struct CmdKclVolume { /// Get the bounding box that contains everything in a KCL file. /// /// # get the volume of a file -/// $ zoo kcl bounding-box my-file.kcl +/// ```terminal +/// zoo kcl bounding-box my-file.kcl +/// ``` /// /// # pass a file from stdin -/// $ cat my-file.kcl | zoo kcl bounding-box -/// +/// ```terminal +/// cat my-file.kcl | zoo kcl bounding-box +/// ``` /// By default, this will search the input path for a `project.toml` file to determine any specific execution settings. #[derive(Parser, Debug, Clone)] #[clap(verbatim_doc_comment)] From d4c241dbb2e1a54e4edd82ca876908bc0277a9eb Mon Sep 17 00:00:00 2001 From: Kevin Nadro Date: Thu, 29 Oct 2026 15:47:56 -0500 Subject: [PATCH 2/3] fix: markdown formatting --- src/cmd_kcl.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/cmd_kcl.rs b/src/cmd_kcl.rs index 21baf999..a3f1981f 100644 --- a/src/cmd_kcl.rs +++ b/src/cmd_kcl.rs @@ -1117,15 +1117,16 @@ pub struct CmdKclVolume { /// Get the bounding box that contains everything in a KCL file. /// -/// # get the volume of a file -/// ```terminal -/// zoo kcl bounding-box my-file.kcl -/// ``` +/// ```terminal +/// # get the volume of a file +/// zoo kcl bounding-box my-file.kcl +/// ``` +/// +/// ```terminal +/// # pass a file from stdin +/// cat my-file.kcl | zoo kcl bounding-box +/// ``` /// -/// # pass a file from stdin -/// ```terminal -/// cat my-file.kcl | zoo kcl bounding-box -/// ``` /// By default, this will search the input path for a `project.toml` file to determine any specific execution settings. #[derive(Parser, Debug, Clone)] #[clap(verbatim_doc_comment)] From 83c01f3d148f253426389a352eece8537d3bc4ff Mon Sep 17 00:00:00 2001 From: Kevin Nadro Date: Thu, 29 Oct 2026 15:56:24 -0500 Subject: [PATCH 3/3] fix: shell instead of terminal --- src/cmd_kcl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd_kcl.rs b/src/cmd_kcl.rs index a3f1981f..5fc251bd 100644 --- a/src/cmd_kcl.rs +++ b/src/cmd_kcl.rs @@ -1117,12 +1117,12 @@ pub struct CmdKclVolume { /// Get the bounding box that contains everything in a KCL file. /// -/// ```terminal +/// ```shell /// # get the volume of a file /// zoo kcl bounding-box my-file.kcl /// ``` /// -/// ```terminal +/// ```shell /// # pass a file from stdin /// cat my-file.kcl | zoo kcl bounding-box /// ```