Samples are written against the published crates in
riverbase-io/riverbase, never invented. If an API is
not in the source, it does not go in the docs. npm run check:snippets verifies identifiers.
Document only published crates.
Give multi-line samples a title="path/to/file.rs".
Prefer complete, compilable snippets for short examples. Use /* … */ only for elided bodies.
Show HTTP calls as curl with the full path, including api_base.