Fix description of angleToMatchLengthX (#4467)

* fix description of angleToMatchLengthX

* Update docs

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* update doc regen instructions

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* Re-run CI after snapshots

---------

Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Frank Noirot <frank@kittycad.io>
This commit is contained in:
Greg Sweeney
2024-11-13 06:04:35 -08:00
committed by GitHub
parent 0b24216dc5
commit c5d051855f
4 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,10 @@
--- ---
title: "angleToMatchLengthX" title: "angleToMatchLengthX"
excerpt: "Compute the angle (in degrees) in o" excerpt: "Returns the angle to match the given length for x."
layout: manual layout: manual
--- ---
Compute the angle (in degrees) in o Returns the angle to match the given length for x.

View File

@ -75,7 +75,7 @@
}, },
{ {
"name": "angleToMatchLengthX", "name": "angleToMatchLengthX",
"summary": "Compute the angle (in degrees) in o", "summary": "Returns the angle to match the given length for x.",
"description": "", "description": "",
"tags": [], "tags": [],
"args": [ "args": [

View File

@ -790,6 +790,7 @@ fn test_generate_stdlib_json_schema() {
// If this test fails and you've modified the AST or something else which affects the json repr // If this test fails and you've modified the AST or something else which affects the json repr
// of stdlib functions, you should rerun the test with `EXPECTORATE=overwrite` to create new // of stdlib functions, you should rerun the test with `EXPECTORATE=overwrite` to create new
// test data, then check `/docs/kcl/std.json` to ensure the changes are expected. // test data, then check `/docs/kcl/std.json` to ensure the changes are expected.
// Alternatively, run `just redo-kcl-stdlib-docs` (make sure to have just installed).
let stdlib = StdLib::new(); let stdlib = StdLib::new();
let combined = stdlib.combined(); let combined = stdlib.combined();

View File

@ -418,7 +418,7 @@ pub async fn angle_to_match_length_x(exec_state: &mut ExecState, args: Args) ->
args.make_user_val_from_f64(result) args.make_user_val_from_f64(result)
} }
/// Compute the angle (in degrees) in o /// Returns the angle to match the given length for x.
/// ///
/// ```no_run /// ```no_run
/// const sketch001 = startSketchOn('XZ') /// const sketch001 = startSketchOn('XZ')