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:
		@ -1,10 +1,10 @@
 | 
			
		||||
---
 | 
			
		||||
title: "angleToMatchLengthX"
 | 
			
		||||
excerpt: "Compute the angle (in degrees) in o"
 | 
			
		||||
excerpt: "Returns the angle to match the given length for x."
 | 
			
		||||
layout: manual
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
Compute the angle (in degrees) in o
 | 
			
		||||
Returns the angle to match the given length for x.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -75,7 +75,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    "name": "angleToMatchLengthX",
 | 
			
		||||
    "summary": "Compute the angle (in degrees) in o",
 | 
			
		||||
    "summary": "Returns the angle to match the given length for x.",
 | 
			
		||||
    "description": "",
 | 
			
		||||
    "tags": [],
 | 
			
		||||
    "args": [
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
    // 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.
 | 
			
		||||
    // Alternatively, run `just redo-kcl-stdlib-docs` (make sure to have just installed).
 | 
			
		||||
    let stdlib = StdLib::new();
 | 
			
		||||
    let combined = stdlib.combined();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/// Compute the angle (in degrees) in o
 | 
			
		||||
/// Returns the angle to match the given length for x.
 | 
			
		||||
///
 | 
			
		||||
/// ```no_run
 | 
			
		||||
/// const sketch001 = startSketchOn('XZ')
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user