pub struct BuildOptions {
root : String
config : String?
dest : String?
force : Bool
drafts : Bool
quiet : Bool
}pub struct BuildResult {
pages : Int
generated : Int
assets : Int
skipped : Int
writes : Int
warnings : Array[String]
elapsed_ms : Int64
}pub struct Page {
src : String
dest : String
url : String
data : Json
body : String
html : String
output : String
paginated : Bool
skip : Bool
}pub(all) enum PageShell {
Document
NoLayout
Missing(String)
Applied(String)
}async fn build_site_with(options : BuildOptions, formats : FormatRegistry, contents : ContentRegistry, engine_env : TemplateEnv?) -> BuildResultfn builtin_layout(layout : StringView) -> Boolfn date_from_name(name : StringView) -> Stringfn is_document(body : StringView) -> Boolfn make_options(root : String, config : String?, dest : String?, force : Bool, drafts : Bool, quiet : Bool) -> BuildOptionsfn minify_html(input : StringView) -> Stringfn render_builtin(layout : StringView, page : Json, body : String, slot : (StringView) -> String) -> (String, String)?fn theme_signature() -> Stringfn url_to_dest(url : StringView) -> StringInstall
Download zipA general-purpose high-performance static site generator for MoonBit