Skip to content

Commit

Permalink
Merge pull request #5008 from GuillaumeGomez/generate-links-to-def
Browse files Browse the repository at this point in the history
Add `--generate-link-to-definition` option when building on docs.rs
  • Loading branch information
epage committed Jul 14, 2023
2 parents fcda411 + 3b5745d commit 33feb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ include.workspace = true

[package.metadata.docs.rs]
features = ["unstable-doc"]
rustdoc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[package.metadata.playground]
Expand Down

0 comments on commit 33feb65

Please sign in to comment.