From b8792c2d9f2b5adfaa0e3bd31c297b105b66e4e1 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Thu, 29 Jul 2021 23:14:38 +0200 Subject: Add docs root --- Cargo.toml | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c4dc9bd..25e938d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ads1x1x" -version = "0.2.1" +version = "0.2.1" # remember to update html_root_url authors = ["Diego Barrios Romero "] repository = "https://github.com/eldruin/ads1x1x-rs" license = "MIT OR Apache-2.0" diff --git a/src/lib.rs b/src/lib.rs index 90a0f62..8833d75 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -202,6 +202,7 @@ //! adc.set_comparator_latching(ComparatorLatching::Latching).unwrap(); //! ``` +#![doc(html_root_url = "https://docs.rs/ads1x1x/0.2.1")] #![deny(unsafe_code)] #![deny(missing_docs)] #![no_std] -- cgit v1.2.3-54-g00ecf