Skip to content

Commit caf9bfc

Browse files
committed
doc: show a warning when no tldr example
1 parent 51da8bf commit caf9bfc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bin/uudoc.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ impl<'a, 'b> MDWriter<'a, 'b> {
216216
} else if let Some(f) = get_zip_content(zip, &format!("pages/linux/{}.md", self.name)) {
217217
f
218218
} else {
219+
println!(
220+
"Warning: Could not find tldr examples for page '{}'",
221+
self.name
222+
);
219223
return Ok(());
220224
};
221225

0 commit comments

Comments
 (0)