Skip to main content

generate_html_output

Function generate_html_output 

Source
pub fn generate_html_output(
    output_dir: &str,
    cases: &[CaseOutput],
    base_url: &str,
    thumbnail_base_url: Option<&str>,
) -> i32
Expand description

Generate static HTML files, sitemap, tag pages, and NULID index from built case outputs.

Writes output to {output_dir}/html/. Returns 0 on success, non-zero on error.

This is the high-level orchestrator that calls individual html::render_* functions and writes the results to disk.