We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5561df4 commit aaef0b7Copy full SHA for aaef0b7
crates/re_dev_tools/src/build_examples/example.rs
@@ -9,6 +9,7 @@ use std::str::FromStr;
9
use anyhow::Context;
10
11
pub struct Example {
12
+ /// Name of the folder it's stored in.
13
pub name: String,
14
pub title: String,
15
pub dir: PathBuf,
crates/re_dev_tools/src/build_examples/manifest.rs
@@ -85,9 +85,8 @@ impl ManifestEntry {
85
height: example.thumbnail_dimensions[1],
86
},
87
source_url: format!(
88
- "{base_source_url}/examples/{}/{name}/{}",
+ "{base_source_url}/examples/{}/{name}",
89
example.language.examples_dir().to_string_lossy(),
90
- example.script_path.to_string_lossy(),
91
),
92
name,
93
}
0 commit comments