You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The crate mentioned in that issue has a #![doc(html_root_url)] attribute set, and the [src] link that points to that crate is using that to base its url. However, the --extern-html-root-url that docs.rs passes to rustdoc should be overriding that setting. We should investigate how rustdoc generates [src] links, and see whether it needs to be modified to account for --extern-html-root-url, like how other cross-crate links are made.
The text was updated successfully, but these errors were encountered:
The whole thing happens in here and it seems the --extern-html-root-url option has priority over #![doc(html_root_url)]. Now my guess is: it's not given to sub-crates for some reason. Investigations continue!
The build log shows rustdoc was passed --extern-html-root-url 'futures_util_preview=https://docs.rs/futures-util-preview/0.3.0-alpha.12' but the crate name is futures_util not futures_util_preview. It looks like docs.rs needs to use the actual crate name not the package name.
Originally reported at rust-lang/docs.rs#298
The crate mentioned in that issue has a
#![doc(html_root_url)]
attribute set, and the[src]
link that points to that crate is using that to base its url. However, the--extern-html-root-url
that docs.rs passes to rustdoc should be overriding that setting. We should investigate how rustdoc generates[src]
links, and see whether it needs to be modified to account for--extern-html-root-url
, like how other cross-crate links are made.The text was updated successfully, but these errors were encountered: