Std.Site.build
1 declaration
fn
build: &Std.Site.Options -> &Array[Str] -> fn(Str) -> Std.Http.Response -> Result[Std.Site.Report, Std.Site.SiteError]Build a site: every path rendered by render and written where the target host serves it, the public directory copied, and the host's routing written.
Pages render settings.workers at a time, so a build uses the cores the machine has. A page that does not answer 200, or whose path could not be a file, is reported in refused and not written; a file whose bytes are already on disk is left alone and counted as unchanged. The build fails outright only when it cannot write its output at all.
