Build Server
The build servers:
- read releases from the build queue,
- use
rustwideto runcargo doc, isolating each build in a Docker container for security, and - package the documentation into a ZIP file and upload it to S3.
The code lives
in the docs_rs_builder subcrate.
Build environment
Docs.rs / rustwide are internally using the
crates-build-env docker images
as the build environment for the crate. If you’re missing a system dependency,
you can add it there.
Also see the docs.rs build info page.
The root README documents building a published release or a local package during development.
Docs.rs invokes rustdoc with its nightly toolchain. See the rustdoc book for rustdoc-specific behavior and options.