The build token: the single value every pipeline stage takes and returns
(Tableau's proven shape). Stages are pure token -> token transformations;
only load and emit touch the filesystem.
documents are parsed content on their way to becoming pages (the
layout stage performs that conversion); assets copy through untouched.
Summary
Functions
Starts a build token from a loaded site and build options.
Types
@type t() :: %Cherry.Build{ assets: [Cherry.Content.Asset.t()], documents: [Cherry.Content.Document.t()], options: Cherry.Build.Options.t(), pages: [Cherry.Content.Page.t()], profile: Cherry.Portfolio.Profile.t() | nil, site: Cherry.Site.t() }
Functions
@spec new(Cherry.Site.t(), Cherry.Build.Options.t()) :: t()
Starts a build token from a loaded site and build options.