Skip to content

Commit 77052ad

Browse files
authored
Rollup merge of rust-lang#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 rust-lang#80307
2 parents fdd9d53 + a6d377d commit 77052ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/doc.rs

+2
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,8 @@ impl Step for Rustdoc {
628628
cargo.arg("-p").arg("rustdoc");
629629

630630
cargo.rustdocflag("--document-private-items");
631+
cargo.rustdocflag("--enable-index-page");
632+
cargo.rustdocflag("-Zunstable-options");
631633
builder.run(&mut cargo.into());
632634
}
633635
}

0 commit comments

Comments
 (0)