diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 6ac7e2a4ad..02d472d180 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -1,5 +1,10 @@ // #![deny(warnings)] +#![doc( + html_logo_url = "https://raw.githubusercontent.com/rtic-rs/cortex-m-rtic/master/book/en/src/RTIC.svg", + html_favicon_url = "https://raw.githubusercontent.com/rtic-rs/cortex-m-rtic/master/book/en/src/RTIC.svg" +)] + extern crate proc_macro; use proc_macro::TokenStream; diff --git a/src/lib.rs b/src/lib.rs index c96b53c7f7..71cc86b2c9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,6 +34,10 @@ #![deny(rust_2018_idioms)] #![deny(warnings)] #![no_std] +#![doc( + html_logo_url = "https://raw.githubusercontent.com/rtic-rs/cortex-m-rtic/master/book/en/src/RTIC.svg", + html_favicon_url = "https://raw.githubusercontent.com/rtic-rs/cortex-m-rtic/master/book/en/src/RTIC.svg" +)] use cortex_m::{interrupt::InterruptNumber, peripheral::NVIC}; pub use cortex_m_rtic_macros::app;