-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…293) * chore: separate ladfile into two builder and serde crates * fix preprocessor * make integration test output markdown files and check them * make source paths map to actual md files * add ladfile_builder to release-plz
- Loading branch information
Showing
17 changed files
with
755 additions
and
591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ description = "Documentation for the Bevy Scripting library" | |
|
||
|
||
[preprocessor.lad-preprocessor] | ||
|
||
|
||
[output.markdown] |
21 changes: 21 additions & 0 deletions
21
...mdbook_lad_preprocessor/tests/books/example_ladfile/expected/lad.md/enumtype.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# EnumType | ||
|
||
### Unit | ||
|
||
### Struct | ||
|
||
- **field** : usize | ||
|
||
### TupleStruct | ||
|
||
1. usize | ||
2. String | ||
|
||
## Description | ||
|
||
> None available\. 🚧 | ||
## Functions | ||
|
||
| Function | Summary | | ||
| --- | --- | |
16 changes: 16 additions & 0 deletions
16
...book_lad_preprocessor/tests/books/example_ladfile/expected/lad.md/structtype.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# StructType | ||
|
||
### StructType | ||
|
||
- **field** : usize | ||
- **field2** : usize | ||
|
||
## Description | ||
|
||
> I am a struct | ||
## Functions | ||
|
||
| Function | Summary | | ||
| --- | --- | | ||
| `hello_world(ref_, tuple, option_vec_ref_wrapper)` | [No documentation available\. 🚧](#helloworld) | |
15 changes: 15 additions & 0 deletions
15
...lad_preprocessor/tests/books/example_ladfile/expected/lad.md/tuplestructtype.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# TupleStructType | ||
|
||
### TupleStructType | ||
|
||
1. usize | ||
2. String | ||
|
||
## Description | ||
|
||
> I am a tuple test type | ||
## Functions | ||
|
||
| Function | Summary | | ||
| --- | --- | |
14 changes: 14 additions & 0 deletions
14
...mdbook_lad_preprocessor/tests/books/example_ladfile/expected/lad.md/unittype.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# UnitType | ||
|
||
### UnitType | ||
|
||
|
||
|
||
## Description | ||
|
||
> I am a unit test type | ||
## Functions | ||
|
||
| Function | Summary | | ||
| --- | --- | |
17 changes: 17 additions & 0 deletions
17
...ckends/mdbook_lad_preprocessor/tests/books/example_ladfile/expected/test.lad.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Nested Lad | ||
|
||
## Globals | ||
|
||
| Instance | Type | | ||
| --- | --- | | ||
| `my_static_instance` | ladfile\_builder::test::StructType<usize> | | ||
| `my_non_static_instance` | ladfile\_builder::test::UnitType | | ||
|
||
## Types | ||
|
||
| Type | Summary | | ||
| --- | --- | | ||
| `EnumType` | [No documentation available\. 🚧](#enumtype) | | ||
| `StructType` | [I am a struct](#structtype) | | ||
| `TupleStructType` | [I am a tuple test type](#tuplestructtype) | | ||
| `UnitType` | [I am a unit test type](#unittype) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.