Fixed logo now showing up in doc

This commit is contained in:
François Autin 2023-04-21 14:46:06 +02:00
parent 052b950ca0
commit 33cbe77175
No known key found for this signature in database
GPG Key ID: 343F5D382E1DD77C
2 changed files with 3 additions and 3 deletions

View File

@ -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());
} }

View File

@ -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)]