Closed
Description
crates.io is documented as its own crate as cargo_registry, and the S3 interaction as cargo_registry_s3. I found out about how to display private types' documentation via cargo doc --no-defaults --passes collapse-docs --passes unindent-comments
, but I don't think docs.rs has an option to do this for us. Is there an option to specify this another way e.g. in the Cargo.toml
? Otherwise we could host the documentation on a different site ala Serde.
Tasks involved in completing this, added by @carols10cents:
- Add a
[package.metadata.docs.rs]
toCargo.toml
as shown in this PR description - Set the
rustdoc-args
key to[ "--no-defaults --passes collapse-docs --passes unindent-comments" ]
- Send in a PR and remind @carols10cents to release a new version of cargo-registry after merging the PR :)