Skip to content

Commit

Permalink
generate kcl examples in docs from macro (#1710)
Browse files Browse the repository at this point in the history
* rearrange

Signed-off-by: Jess Frazelle <[email protected]>

* examples

Signed-off-by: Jess Frazelle <[email protected]>

* fix tests

Signed-off-by: Jess Frazelle <[email protected]>

* recast

Signed-off-by: Jess Frazelle <[email protected]>

* updates

Signed-off-by: Jess Frazelle <[email protected]>

* add more tests

Signed-off-by: Jess Frazelle <[email protected]>

* fixups

Signed-off-by: Jess Frazelle <[email protected]>

* add more samples

Signed-off-by: Jess Frazelle <[email protected]>

* more docs

Signed-off-by: Jess Frazelle <[email protected]>

* more

Signed-off-by: Jess Frazelle <[email protected]>

* more samples

Signed-off-by: Jess Frazelle <[email protected]>

* more

Signed-off-by: Jess Frazelle <[email protected]>

* fixups

Signed-off-by: Jess Frazelle <[email protected]>

* fixups

Signed-off-by: Jess Frazelle <[email protected]>

* fixes

Signed-off-by: Jess Frazelle <[email protected]>

* make serial

Signed-off-by: Jess Frazelle <[email protected]>

* fix hang

Signed-off-by: Jess Frazelle <[email protected]>

* fix import

Signed-off-by: Jess Frazelle <[email protected]>

* updates

Signed-off-by: Jess Frazelle <[email protected]>

* fixes

Signed-off-by: Jess Frazelle <[email protected]>

* atan

Signed-off-by: Jess Frazelle <[email protected]>

* atan

Signed-off-by: Jess Frazelle <[email protected]>

* updates

Signed-off-by: Jess Frazelle <[email protected]>

* fixes

Signed-off-by: Jess Frazelle <[email protected]>

* fixes

Signed-off-by: Jess Frazelle <[email protected]>

* make all tests pass

Signed-off-by: Jess Frazelle <[email protected]>

* fix docs

Signed-off-by: Jess Frazelle <[email protected]>

* fixes

Signed-off-by: Jess Frazelle <[email protected]>

* must have code balock

Signed-off-by: Jess Frazelle <[email protected]>

* updates

Signed-off-by: Jess Frazelle <[email protected]>

* new docs

Signed-off-by: Jess Frazelle <[email protected]>

* fix

Signed-off-by: Jess Frazelle <[email protected]>

* fix docs

Signed-off-by: Jess Frazelle <[email protected]>

* new docs

Signed-off-by: Jess Frazelle <[email protected]>

---------

Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz authored Mar 13, 2024
1 parent 6bab45a commit a60bdd4
Show file tree
Hide file tree
Showing 36 changed files with 3,581 additions and 535 deletions.
338 changes: 270 additions & 68 deletions docs/kcl/std.json

Large diffs are not rendered by default.

724 changes: 718 additions & 6 deletions docs/kcl/std.md

Large diffs are not rendered by default.

21 changes: 3 additions & 18 deletions src/wasm-lib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/wasm-lib/derive-docs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "derive-docs"
description = "A tool for generating documentation from Rust derive macros"
version = "0.1.10"
version = "0.1.11"
edition = "2021"
license = "MIT"
repository = "https://github.com/KittyCAD/modeling-app"
Expand All @@ -12,6 +12,7 @@ rust-version = "1.73"
proc-macro = true

[dependencies]
Inflector = "0.11.4"
convert_case = "0.6.0"
once_cell = "1.19.0"
proc-macro2 = "1"
Expand Down
Loading

0 comments on commit a60bdd4

Please sign in to comment.