Hide re-exported traits from docs.rs
JelteF opened this issue · 2 comments
Somehow docs.rs is displaying all re-exported traits anyway. Eventhough they are marked as #[docs(hidden)]
. We should figure out why and fix that. cargo doc --features full
doesn't display them for me. So I'm not sure what's going on here.
Link to docs.rs: https://docs.rs/derive_more/1.0.0-beta.2/derive_more/index.html#traits
We could have a docs
feature that disables them.
So I'm not sure what's going on here.
Fortunately, we have the build log: https://docs.rs/crate/derive_more/1.0.0-beta.2/builds/868921
As we see, docs.rs
uses cargo rustdoc
command instead of cargo doc
.
cargo doc --features full
doesn't display them for me.
For me neither. However, cargo rustdoc -p derive_more --features full --open
reproduces the issue perfectly.