summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-26 09:29:56 +0000
committerbors <bors@rust-lang.org>2020-12-26 09:29:56 +0000
commit1f5beec3b111560be181283009ef96da6ac5e7a7 (patch)
tree6b291457bcccd6fd9160f59652d25ce25d00c178
parent780b094d767b6720c11b1bf145dac2cf2643b89e (diff)
parenta6d377d56560350976ccb46f33ae14ad65eb9372 (diff)
downloadrust-1f5beec3b111560be181283009ef96da6ac5e7a7.tar.gz
Auto merge of #80316 - ehuss:rustdoc-index, r=Mark-Simulacrum
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
-rw-r--r--src/bootstrap/doc.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index 8cacc2512ef..30a8229036f 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -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());
}
}