From 11af586017cacee16f13674a4e0c6cccac20539d Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 13 Mar 2024 11:25:09 -0700 Subject: [PATCH] fix docs Signed-off-by: Jess Frazelle --- docs/kcl/std.json | 6 +++--- docs/kcl/std.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/kcl/std.json b/docs/kcl/std.json index 631e4873b2..809d01cd18 100644 --- a/docs/kcl/std.json +++ b/docs/kcl/std.json @@ -15943,7 +15943,7 @@ "unpublished": false, "deprecated": false, "examples": [ - "startSketchOn('-YZ')\n |> startProfileAt([0, 0], %)\n |> arc({\n angleStart: 0,\n angleEnd: 360,\n radius: 10,\n tag: \"edge1\"\n }, %)\n |> extrude(10, %)" + "startSketchOn('-YZ')\n |> startProfileAt([0, 0], %)\n |> arc({\n angle_start: 0,\n angle_end: 360,\n radius: 10,\n tag: \"edge1\"\n }, %)\n |> extrude(10, %)" ] }, { @@ -16005,7 +16005,7 @@ "unpublished": false, "deprecated": false, "examples": [ - "const myVar = atan(0.5)" + "const myVar = atan(1.0)" ] }, { @@ -52135,7 +52135,7 @@ "unpublished": false, "deprecated": false, "examples": [ - "startSketchAt([0, 0], %)\n |> line([10, 10], %)" + "startSketchAt([0, 0])\n |> line([10, 10], %)" ] }, { diff --git a/docs/kcl/std.md b/docs/kcl/std.md index 67c9ad0e6e..cca7be3dd7 100644 --- a/docs/kcl/std.md +++ b/docs/kcl/std.md @@ -2742,8 +2742,8 @@ arc(data: ArcData, sketch_group: SketchGroup) -> SketchGroup startSketchOn('-YZ') |> startProfileAt([0, 0], %) |> arc({ - angleStart: 0, - angleEnd: 360, + angle_start: 0, + angle_end: 360, radius: 10, tag: "edge1" }, %) @@ -3148,7 +3148,7 @@ atan(num: number) -> number #### Examples ```kcl -const myVar = atan(0.5) +const myVar = atan(1.0) ``` #### Arguments @@ -9436,7 +9436,7 @@ startSketchAt(data: LineData) -> SketchGroup #### Examples ```kcl -startSketchAt([0, 0], %) +startSketchAt([0, 0]) |> line([10, 10], %) ```