Skip to content

Commit

Permalink
Auto merge of #80316 - ehuss:rustdoc-index, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Include rustdoc in the compiler docs index.

This should help ensure that the index page at https://doc.rust-lang.org/nightly/nightly-rustc/ includes a link to the rustdoc docs as well.

Fixes #80307
  • Loading branch information
bors committed Dec 26, 2020
2 parents 780b094 + a6d377d commit 1f5beec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,8 @@ impl Step for Rustdoc {
cargo.arg("-p").arg("rustdoc");

cargo.rustdocflag("--document-private-items");
cargo.rustdocflag("--enable-index-page");
cargo.rustdocflag("-Zunstable-options");
builder.run(&mut cargo.into());
}
}
Expand Down

0 comments on commit 1f5beec

Please sign in to comment.