Expand description
zenith inspect command — module wiring.
document— error type, tree types, tree builders, node finder, geometry helpers, human renderers, and the publicrunentry point.recipes— recipe-block JSON builder and human renderer.
Modules§
- recipes
- Recipe-block rendering for
zenith inspect.
Structs§
- Inspect
CmdErr - Error produced by the inspect command.
- Inspect
Node Output - The subtree rooted at a single found node (used for
--node <ID>). - Inspect
Output - The top-level JSON envelope for
inspect. - Node
Entry - A single node in the inspect tree.
- Node
Geometry - The geometry summary emitted per node. Missing fields are
Nonewhen the node kind does not carry that property (e.g.polygonhas no bbox). - Page
Entry - A page in the inspect tree.
Functions§
- build_
doc_ tree - Build the full page tree for all pages in the document (in order).
- find_
node_ tree - Search all pages (depth-first, in source order) for a node with the given
id. Returns a fully-built
NodeEntrysubtree when found. - run
- Run
zenith inspect. - summary
- Build a token-minimal structured summary of a document’s node tree.