Skip to content

Commit

Permalink
Rollup merge of rust-lang#89217 - GuillaumeGomez:generate-link-to-def…
Browse files Browse the repository at this point in the history
…-rust-tools, r=jyn514

Enable "generate-link-to-definition" option on rust tools docs as well

Just realized that we enable the option for the compiler crates, but we don't have it for rustdoc and the other tools documentation...

Part of rust-lang#89095.

cc ``@rust-lang/rustdoc``
r? ``@Mark-Simulacrum``
  • Loading branch information
workingjubilee committed Sep 24, 2021
2 parents 0fa4349 + 9fa59e1 commit 0cd9dd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ macro_rules! tool_doc {
cargo.rustdocflag("--document-private-items");
cargo.rustdocflag("--enable-index-page");
cargo.rustdocflag("--show-type-layout");
cargo.rustdocflag("--generate-link-to-definition");
cargo.rustdocflag("-Zunstable-options");
builder.run(&mut cargo.into());
}
Expand Down

0 comments on commit 0cd9dd3

Please sign in to comment.