diff options
author | bors <bors@rust-lang.org> | 2020-12-26 09:29:56 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2020-12-26 09:29:56 +0000 |
commit | 1f5beec3b111560be181283009ef96da6ac5e7a7 (patch) | |
tree | 6b291457bcccd6fd9160f59652d25ce25d00c178 | |
parent | 780b094d767b6720c11b1bf145dac2cf2643b89e (diff) | |
parent | a6d377d56560350976ccb46f33ae14ad65eb9372 (diff) | |
download | rust-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.rs | 2 |
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()); } } |