Using raw `cargo doc` lead to a situation where the documentation tried to generate without being aware of the resources we need to build.