add auto codegen
This commit is contained in:
23
models/SiaN/_schema.md
Normal file
23
models/SiaN/_schema.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# _schema.md
|
||||
|
||||
## Format
|
||||
|
||||
```
|
||||
# === IMPORTS ===
|
||||
<all imports>
|
||||
|
||||
# code: ./src/file.py
|
||||
# markdown
|
||||
"""Description"""
|
||||
|
||||
# inline:
|
||||
<custom code>
|
||||
```
|
||||
|
||||
## Directives
|
||||
|
||||
- `# code:` - include file from src/
|
||||
- `# markdown` - description block
|
||||
- `# inline:` - custom code cell
|
||||
|
||||
`build.py` generates notebook from `_schema.py`.
|
||||
Reference in New Issue
Block a user