Skip to content

Commit

Permalink
Rollup 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
Dylan-DPC authored Dec 24, 2020
2 parents 001b889 + a6d377d commit ffda29c
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 ffda29c

Please sign in to comment.