Builds the docs for api.rocket.rs.
When a commit gets pushed to any branch in Rocket, a webhook fires, triggering
./build.sh that:
- Clones Rocket to
_rocket. - Creates a worktree for each branch
_build. - Builds the docs in parallel in each worktree, if cache is stale.
- Copies each
$worktree/target/docto_output/$branch. - Copies
static/*to_output/. - Uploads
_outputto api.rocket.rs.