-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
As of Rust 1.19.0-nightly, documenting a crate with cargo doc --no-deps
will link to the html_root_url of any dependencies that have one set, and other dependencies will not be linked.
In the screenshot, the crate providing HasHtmlRootUrl
has an html_root_url so the type is linked. The crate providing NoHtmlRootUrl
does not have an html_root_url so the type is not linked.
Linking NoHtmlRootUrl
to docs.rs would be a reasonable fallback.
jyn514, wyattjsmith1, jonasbb, SOF3 and SludgePhD
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.