diff --git a/crates/re_dev_tools/src/build_examples/example.rs b/crates/re_dev_tools/src/build_examples/example.rs index 5379dd36be52..555849423a83 100644 --- a/crates/re_dev_tools/src/build_examples/example.rs +++ b/crates/re_dev_tools/src/build_examples/example.rs @@ -9,6 +9,7 @@ use std::str::FromStr; use anyhow::Context; pub struct Example { + /// Name of the folder it's stored in. pub name: String, pub title: String, pub dir: PathBuf, diff --git a/crates/re_dev_tools/src/build_examples/manifest.rs b/crates/re_dev_tools/src/build_examples/manifest.rs index a55fcd6957a9..22ab16b13ffb 100644 --- a/crates/re_dev_tools/src/build_examples/manifest.rs +++ b/crates/re_dev_tools/src/build_examples/manifest.rs @@ -85,9 +85,8 @@ impl ManifestEntry { height: example.thumbnail_dimensions[1], }, source_url: format!( - "{base_source_url}/examples/{}/{name}/{}", + "{base_source_url}/examples/{}/{name}", example.language.examples_dir().to_string_lossy(), - example.script_path.to_string_lossy(), ), name, }