Fixed logo now showing up in doc
This commit is contained in:
parent
052b950ca0
commit
33cbe77175
4
build.rs
4
build.rs
@ -13,14 +13,14 @@ fn main() {
|
|||||||
let mut create_target_folder = Command::new("mkdir");
|
let mut create_target_folder = Command::new("mkdir");
|
||||||
create_target_folder.args([
|
create_target_folder.args([
|
||||||
"-p",
|
"-p",
|
||||||
"target/doc/burritos/assets/"
|
"target/doc/assets/"
|
||||||
]);
|
]);
|
||||||
println!("{:?}", create_target_folder.output().unwrap());
|
println!("{:?}", create_target_folder.output().unwrap());
|
||||||
|
|
||||||
let mut copy_logo = Command::new("cp");
|
let mut copy_logo = Command::new("cp");
|
||||||
copy_logo.args([
|
copy_logo.args([
|
||||||
"assets/logo/logo.svg",
|
"assets/logo/logo.svg",
|
||||||
"target/doc/burritos/assets/logo.svg"
|
"target/doc/assets/logo.svg"
|
||||||
]);
|
]);
|
||||||
println!("{:?}", copy_logo.output().unwrap());
|
println!("{:?}", copy_logo.output().unwrap());
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
#![doc(html_logo_url = "assets/logo.svg", html_favicon_url = "assets/logo.svg")]
|
#![doc(html_logo_url = "../assets/logo.svg", html_favicon_url = "../assets/logo.svg")]
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
#![warn(clippy::missing_docs_in_private_items)]
|
#![warn(clippy::missing_docs_in_private_items)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user