Closed koivunej closed 2 years ago
No strong feelings on the #![deny(rustdoc::broken_intra_doc_links)]
nor the workflow change, happy to drop them if they are not wanted.
Thanks for working on this!
Can we do -D warn in CI instead of denying at compile time?
Changed the deny to warn by changing the 4th commit. PR desc updated.
Can we do -D warn in CI instead of denying at compile time?
Initially misunderstood this and changed the #![deny(rustdoc::...)]
to #![warn(rustdoc::...)]
but instead you meant to use RUSTDOCFLAGS when doing cargo doc
. I had missed that RUSTDOCFLAGS="-Dwarnings" was already being set so the only needed thing was the --document-private-items
.
Very minor drive-by doc fixes removing the warnings from
cargo doc --document-private-links
but also enables the#[warn(rustdoc::broken_intra_doc_links)]
to catch these earlier. With the additional--document-private-items
in workflow the private links are checked as well.