Skip to main content

Module html

Module html 

Source
Expand description

HTML meta-report rendering.

multi_report_to_html takes a MultiReport and produces a single self-contained HTML document: inline CSS, inline SVG charts, no external assets, no JavaScript dependencies. The page is fully readable with JavaScript disabled; collapse/expand uses native HTML5 <details> elements.

Colors are CSS custom properties at the top of the document, sourced from crate::brand. The brand kit lands later; replacing those constants automatically re-themes every report.

Output is deterministic for a given MultiReport: no clock reads, no random IDs, iteration order matches the input.

Use via the MultiReportHtmlExt trait to call multi.to_html() directly, or call this function on a borrowed MultiReport.

Functions§

multi_report_to_html
Render multi as a self-contained HTML document.