From e9daa3dd8d738036595bc6b3ed3d766f112c27a9 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 25 Mar 2023 18:15:39 +0000 Subject: [PATCH] Add boa logo to remaining hosted docs (#2740) This pr adds the boa doc `html_logo_url` and `html_favicon_url` on the pages missing the logo for boa's hosted docs. --- boa_icu_provider/src/bin/datagen.rs | 5 +++++ boa_icu_provider/src/lib.rs | 4 ++++ boa_profiler/src/lib.rs | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/boa_icu_provider/src/bin/datagen.rs b/boa_icu_provider/src/bin/datagen.rs index 23769140ce..a7cfb4ec5a 100644 --- a/boa_icu_provider/src/bin/datagen.rs +++ b/boa_icu_provider/src/bin/datagen.rs @@ -1,3 +1,8 @@ +#![doc( + html_logo_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg", + html_favicon_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg" +)] + use std::{error::Error, fs::File}; use boa_icu_provider::data_root; diff --git a/boa_icu_provider/src/lib.rs b/boa_icu_provider/src/lib.rs index 5e081d6af0..aec94daaa1 100644 --- a/boa_icu_provider/src/lib.rs +++ b/boa_icu_provider/src/lib.rs @@ -15,6 +15,10 @@ //! [`BufferProvider`]: icu_provider::BufferProvider //! [`AnyProvider`]: icu_provider::AnyProvider +#![doc( + html_logo_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg", + html_favicon_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg" +)] #![deny( // rustc lint groups https://doc.rust-lang.org/rustc/lints/groups.html warnings, diff --git a/boa_profiler/src/lib.rs b/boa_profiler/src/lib.rs index 56184274a7..c57b2fba61 100644 --- a/boa_profiler/src/lib.rs +++ b/boa_profiler/src/lib.rs @@ -25,6 +25,10 @@ //! [boa-web]: https://boa-dev.github.io/ //! [boa-playground]: https://boa-dev.github.io/boa/playground/ +#![doc( + html_logo_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg", + html_favicon_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg" +)] #![cfg_attr(not(test), forbid(clippy::unwrap_used))] #![warn(missing_docs, clippy::dbg_macro)] #![deny(