diff --git a/crates/ecolor/Cargo.toml b/crates/ecolor/Cargo.toml index 0fc5546453af..c1a10070c03f 100644 --- a/crates/ecolor/Cargo.toml +++ b/crates/ecolor/Cargo.toml @@ -21,6 +21,7 @@ workspace = true [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--generate-link-to-definition"] [lib] diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index b438bdea7cc7..1621458e961e 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -22,6 +22,7 @@ include = [ [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"] +rustdoc-args = ["--generate-link-to-definition"] [lints] workspace = true diff --git a/crates/egui-wgpu/Cargo.toml b/crates/egui-wgpu/Cargo.toml index 647016e302bf..88b81b0c635d 100644 --- a/crates/egui-wgpu/Cargo.toml +++ b/crates/egui-wgpu/Cargo.toml @@ -28,7 +28,7 @@ workspace = true [package.metadata.docs.rs] all-features = true - +rustdoc-args = ["--generate-link-to-definition"] [features] default = [] diff --git a/crates/egui-winit/Cargo.toml b/crates/egui-winit/Cargo.toml index 4060442f6dc4..4472c70f5528 100644 --- a/crates/egui-winit/Cargo.toml +++ b/crates/egui-winit/Cargo.toml @@ -18,7 +18,7 @@ workspace = true [package.metadata.docs.rs] all-features = true - +rustdoc-args = ["--generate-link-to-definition"] [features] default = ["clipboard", "links", "wayland", "winit/default", "x11"] diff --git a/crates/egui/Cargo.toml b/crates/egui/Cargo.toml index a920df2bf46b..487a4eac6e9e 100644 --- a/crates/egui/Cargo.toml +++ b/crates/egui/Cargo.toml @@ -18,6 +18,7 @@ workspace = true [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--generate-link-to-definition"] [lib] diff --git a/crates/egui_demo_app/Cargo.toml b/crates/egui_demo_app/Cargo.toml index 827b14fb42d1..b1905356b2ec 100644 --- a/crates/egui_demo_app/Cargo.toml +++ b/crates/egui_demo_app/Cargo.toml @@ -13,6 +13,7 @@ workspace = true [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--generate-link-to-definition"] [lib] crate-type = ["cdylib", "rlib"] diff --git a/crates/egui_demo_lib/Cargo.toml b/crates/egui_demo_lib/Cargo.toml index 88c2e85557c5..cc41e923abe6 100644 --- a/crates/egui_demo_lib/Cargo.toml +++ b/crates/egui_demo_lib/Cargo.toml @@ -24,6 +24,7 @@ workspace = true [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--generate-link-to-definition"] [lib] diff --git a/crates/egui_extras/Cargo.toml b/crates/egui_extras/Cargo.toml index 8d1cb543ab96..b13a518e8d0b 100644 --- a/crates/egui_extras/Cargo.toml +++ b/crates/egui_extras/Cargo.toml @@ -22,6 +22,7 @@ workspace = true [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--generate-link-to-definition"] [lib] diff --git a/crates/egui_glow/Cargo.toml b/crates/egui_glow/Cargo.toml index 3a2ac6777fce..094d537dafc7 100644 --- a/crates/egui_glow/Cargo.toml +++ b/crates/egui_glow/Cargo.toml @@ -24,7 +24,7 @@ workspace = true [package.metadata.docs.rs] all-features = true - +rustdoc-args = ["--generate-link-to-definition"] [features] default = [] diff --git a/crates/emath/Cargo.toml b/crates/emath/Cargo.toml index f47f281c9681..6df0da9af24d 100644 --- a/crates/emath/Cargo.toml +++ b/crates/emath/Cargo.toml @@ -18,6 +18,7 @@ workspace = true [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--generate-link-to-definition"] [lib] diff --git a/crates/epaint/Cargo.toml b/crates/epaint/Cargo.toml index 88ed8eb42208..7815189dc5a6 100644 --- a/crates/epaint/Cargo.toml +++ b/crates/epaint/Cargo.toml @@ -23,6 +23,7 @@ workspace = true [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--generate-link-to-definition"] [lib] diff --git a/crates/epaint_default_fonts/Cargo.toml b/crates/epaint_default_fonts/Cargo.toml index 9cb05fc0728d..8d31507d31fa 100644 --- a/crates/epaint_default_fonts/Cargo.toml +++ b/crates/epaint_default_fonts/Cargo.toml @@ -27,3 +27,4 @@ workspace = true [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--generate-link-to-definition"]