From 5443ce4368da1e46155a3ff3489a0f1a83580741 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 15 Sep 2018 12:30:27 -0700 Subject: [PATCH] Set html_root_url --- saphyr/Cargo.toml | 2 +- saphyr/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/saphyr/Cargo.toml b/saphyr/Cargo.toml index a0f8559..c389dea 100644 --- a/saphyr/Cargo.toml +++ b/saphyr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yaml-rust" -version = "0.4.0" +version = "0.4.0" # remember to update html_root_url authors = ["Yuheng Chen "] homepage = "http://chyh1990.github.io/yaml-rust/" documentation = "https://docs.rs/yaml-rust" diff --git a/saphyr/src/lib.rs b/saphyr/src/lib.rs index e3c9f64..d7967d1 100644 --- a/saphyr/src/lib.rs +++ b/saphyr/src/lib.rs @@ -36,6 +36,7 @@ //! //! ``` +#![doc(html_root_url = "https://docs.rs/yaml-rust/0.4.0")] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", warn(cyclomatic_complexity))] #![cfg_attr(