pub fn write_site(out_dir: &Path, site: &SiteFiles) -> Result<()>Expand description
Write a planned site to out_dir, creating parent directories as needed.
The single effectful step (ยง2.3): everything about what the site contains was
already decided by the pure plan_site; this only commits it to disk. Called
only after plan_site succeeds, so a refused build (a language mismatch) never
reaches here and never creates out_dir.