pub fn render(
path: &str,
opts: &RenderOptions,
) -> Result<IndexMap<String, Rendered>, DeclError>Expand description
Render a module’s roots in the forms their @render annotations declare
(docs/tooling/05_render.md), with the options as overrides: bind the
input documents, evaluate, and return each root’s text — or, for a
fan-out root, its files by path. Nothing is written to disk. Fails with
the diagnostics on any error-severity outcome.