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:
- Runs
git checkout <tag>to switch the working tree. - Loads
abbaye.tomlfrom the checked-out revision (falling back to the config that was active before the loop if the file is absent). - Calls
site::build_siteto 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.