Add docs html root url

pull/5/head
Diego Barrios Romero 2020-07-10 22:32:08 +02:00
parent 75291cde4c
commit 5414721d1d
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ds323x" name = "ds323x"
version = "0.3.1" version = "0.3.1" # remember to update html_root_url
authors = ["Diego Barrios Romero <eldruin@gmail.com>"] authors = ["Diego Barrios Romero <eldruin@gmail.com>"]
repository = "https://github.com/eldruin/ds323x-rs" repository = "https://github.com/eldruin/ds323x-rs"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"

View File

@ -386,6 +386,7 @@
//! rtc.set_alarm1_hms(time).unwrap(); //! rtc.set_alarm1_hms(time).unwrap();
//! ``` //! ```
#![doc(html_root_url = "https://docs.rs/ds323x/0.3.1")]
#![deny(unsafe_code, missing_docs)] #![deny(unsafe_code, missing_docs)]
#![no_std] #![no_std]