Document every public-facing component of SPEL.
Scope
Macros
#[lez_program] — all attributes, generated code, constraints
#[instruction] — account validation attributes
generate_idl!
Framework types
Account, AccountWithMetadata, AccountPostState, ChainedCall
LezError, LezResult, LezOutput
CLI
IDL format
- Full schema, discriminators, all fields
FFI / client-gen
- How to run
lez-client-gen, what it generates
- Using generated clients in Qt/C++
Approach
- Inventory all source first
cargo doc for API reference
- Human guides in
docs/
- GitHub Pages via CI
Tracks with #61 (tutorial).
Document every public-facing component of SPEL.
Scope
Macros
#[lez_program]— all attributes, generated code, constraints#[instruction]— account validation attributesgenerate_idl!Framework types
Account,AccountWithMetadata,AccountPostState,ChainedCallLezError,LezResult,LezOutputCLI
deploy,run,pda,inspect(feat: spel inspect — fetch and decode account data into human-readable output #60)IDL format
FFI / client-gen
lez-client-gen, what it generatesApproach
cargo docfor API referencedocs/Tracks with #61 (tutorial).