Add --generate-link-to-definition option when building on docs.rs

This commit is contained in:
Guillaume Gomez 2023-07-14 17:40:24 +02:00
parent 9af3a94718
commit 3b5745dad4

View file

@ -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]