Skip to main content

build_all

Function build_all 

Source
pub(crate) async fn build_all() -> Result<()>
Expand description

Build the full website for every git tag, sorted from the lowest semver version to the highest.

For each tag the function:

  1. Runs git checkout <tag> to switch the working tree.
  2. Loads abbaye.toml from the checked-out revision (falling back to the config that was active before the loop if the file is absent).
  3. Calls site::build_site to produce the version page and update the root index and Atom feed.

The original HEAD (branch or commit) is always restored after the loop, even when an error occurs.