Skip to main content

Crate rto_render

Crate rto_render 

Source
Expand description

Renderers over the Roteiro graph. All outputs — docs site, Obsidian vault, and the optional MCP server (feature mcp) — are build products of the same store, so humans and agents always see the same data.

Structs§

IndexEntry
An entry in the ADR index page.
RenderedAdr
A rendered ADR: its title (for the index) and the full themed HTML page.
VaultNote
A rendered vault note: its filename (with .md) and markdown content.

Enums§

Target
A render target for the graph.

Functions§

markdown_to_html
Convert CommonMark md to an HTML fragment, with GitHub-style tables and strikethrough enabled (the house ADR style uses pipe tables).
note_name
Map a node key to a filesystem- and wikilink-safe note stem. Characters that are awkward in filenames or Obsidian links (: / # whitespace) collapse to -; alphanumerics, ., _ and - are kept.
render_adr
Render one ADR markdown document to a themed HTML page. Leading YAML frontmatter is stripped; the title is the first # heading, or fallback if there is none.
render_adr_index
Render the ADR index page listing entries in the given order.
render_note
Render a node’s Explanation into an Obsidian note: YAML frontmatter, a heading, and its outgoing/incoming edges as provenance-labelled wikilinks.