Skip to main content

Module agents_render

Module agents_render 

Source
Expand description

Render the managed documentation block for a root AGENTS.md.

The block is the canonical documentation-routing section, wrapped in the AGENTS.md markers with the profile’s documentation root substituted and the project’s writing-style selection rendered as one route line, or as no line where the selection is none. The installer places it; this only produces the bytes. The content lives in the embedded snippet, so the block and the snippet cannot drift.

Functions§

render_block
The complete marked block for the given documentation root and writing-style selection, newline-terminated.
route_line
The one route line the block carries for a selection, or None where the selection installs no route.
snippet
The embedded documentation snippet, with {docs_root} and {writing_style} unresolved.