Skip to content

Commit

Permalink
Fix links pointing to std_detect
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Apr 28, 2022
1 parent 082e4ca commit e1a60e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,10 @@ impl Step for Std {
.arg("--resource-suffix")
.arg(&builder.version)
.arg("--index-page")
.arg(&builder.src.join("src/doc/index.md"));
.arg(&builder.src.join("src/doc/index.md"))
.arg("--extern-html-root-url")
.arg("std_detect=https://docs.rs/std_detect/0.1.5/")
.arg("--extern-html-root-takes-precedence");

if !builder.config.docs_minification {
cargo.arg("--disable-minification");
Expand Down

0 comments on commit e1a60e6

Please sign in to comment.