From fdda3795627d8d7bc78aefebebbcbc6d1b6c4e2e Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 11 Nov 2020 14:13:09 +0100 Subject: [PATCH] Add html root url --- Cargo.toml | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index cfff800..8bde2f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ license = "MIT OR Apache-2.0" name = "embedded-hal" readme = "README.md" repository = "https://github.com/rust-embedded/embedded-hal" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.3" # remember to update html_root_url [dependencies] nb = "1" diff --git a/src/lib.rs b/src/lib.rs index 1b869a5..088f27d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -404,6 +404,7 @@ //! # fn main() {} //! ``` +#![doc(html_root_url = "https://docs.rs/embedded-hal/1.0.0-alpha.3")] #![deny(missing_docs)] #![no_std]