diff --git a/parser/Cargo.toml b/parser/Cargo.toml index a0f8559..c389dea 100644 --- a/parser/Cargo.toml +++ b/parser/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/parser/src/lib.rs b/parser/src/lib.rs index e3c9f64..d7967d1 100644 --- a/parser/src/lib.rs +++ b/parser/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(