From 33cbe771750fc6db54f33334e9926305e06e11e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Autin?= Date: Fri, 21 Apr 2023 14:46:06 +0200 Subject: [PATCH] Fixed logo now showing up in doc --- build.rs | 4 ++-- src/main.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.rs b/build.rs index 900ea8c..2ae1953 100644 --- a/build.rs +++ b/build.rs @@ -13,14 +13,14 @@ fn main() { let mut create_target_folder = Command::new("mkdir"); create_target_folder.args([ "-p", - "target/doc/burritos/assets/" + "target/doc/assets/" ]); println!("{:?}", create_target_folder.output().unwrap()); let mut copy_logo = Command::new("cp"); copy_logo.args([ "assets/logo/logo.svg", - "target/doc/burritos/assets/logo.svg" + "target/doc/assets/logo.svg" ]); println!("{:?}", copy_logo.output().unwrap()); } \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 95a2d69..9bf8a0d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(clippy::missing_docs_in_private_items)]