From 49c8ab83cdd5bf14fbb94c2953feaddcb1754679 Mon Sep 17 00:00:00 2001 From: nekevss Date: Sat, 25 Mar 2023 13:48:52 -0400 Subject: [PATCH] Add doc logo --- 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 23769140ce4..a7cfb4ec5a1 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 5e081d6af0d..aec94daaa1f 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 56184274a71..c57b2fba61b 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(