Expand description
Exports the build_site
function which stitches together the high-level
steps of building the output static site: parsing the posts
(crate::post
), rendering index and post pages (crate::write
), copying
the static source directory into the static output directory, and generating
the Atom feed.
Enums
The error type for building a site. Errors can be during parsing, writing, cleaning output directories, parsing template files, and other I/O.
Functions
Builds the site from a Config
object. This calls into
PostParser::parse_posts
, Writer::write_posts
, and
write_feed
which do the heavy-lifting. This function also copies
the static assets from source directory to the output directory.