Yamale docs ← back to the site

Yamale documentation

Three layers, split by what you are trying to do. They are deliberately not blended: mixing conceptual explanation into a task guide makes the task longer, and mixing tasks into a reference makes the reference incomplete.

Learn

What this chain is, what it is for, and the handful of ideas the rest of the documentation assumes. Read this if you are deciding whether Yamale solves a problem you have. No commands.

Do

Task-shaped walkthroughs with a stated starting point and an end state you can verify. Every command in these pages has been run against a real node before publishing.

Reference

Every message, query, state type, parameter and error code, generated from the protobuf definitions, each module's registered errors, and its own DefaultParams().

These pages are not written by hand and must not be edited. A reference that drifts from the code is worse than no reference, because somebody trusts it and finds out in production. Regenerate with:

make docs

static/openapi.json describes the same REST surface as a machine-readable Swagger document, merged from the protobuf annotations by make openapi. It is generated on the same terms and guarded the same way — it had drifted two whole modules behind the chain before that check existed.

make docs-check fails the build if the committed output has fallen behind the code, so drift is caught in CI rather than by a reader.

What is missing

Honest list, so nobody hunts for something that does not exist yet: