From 2e5c6f8e36afca64b307cde04cf33e3d068be769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Thu, 25 Nov 2021 10:04:37 +0100 Subject: [PATCH] Docs: add RTIC logo --- macros/src/lib.rs | 5 +++++ src/lib.rs | 4 ++++ 2 files changed, 9 insertions(+) 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;