1
Fork 0

Add default rust logo for documentation

This commit is contained in:
Guillaume Gomez 2019-01-12 22:25:29 +01:00
parent ceb2512144
commit 2200fd3c7c
4 changed files with 11 additions and 1 deletions

View file

@ -789,6 +789,10 @@ fn write_shared(
themes.insert(theme.to_owned());
}
if (*cx.shared).layout.logo.is_empty() {
write(cx.dst.join(&format!("rust-logo{}.png", cx.shared.resource_suffix)),
static_files::RUST_LOGO)?;
}
write(cx.dst.join(&format!("brush{}.svg", cx.shared.resource_suffix)),
static_files::BRUSH_SVG)?;
write(cx.dst.join(&format!("wheel{}.svg", cx.shared.resource_suffix)),