Skip to content

Commit

Permalink
Point html_root_url to docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 13, 2017
1 parent 1403496 commit dc7ab26
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion serde/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde"
version = "0.9.13"
version = "0.9.13" # remember to update html_root_url
authors = ["Erick Tryzelaar <[email protected]>"]
license = "MIT/Apache-2.0"
description = "A generic serialization/deserialization framework"
Expand Down
3 changes: 2 additions & 1 deletion serde/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
//! Redis when using [redis-rs](https://crates.io/crates/redis).
//! *(deserialization only)*
#![doc(html_root_url = "https://docs.serde.rs")]
#![doc(html_root_url = "https://docs.rs/serde/0.9.13")]

#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(feature = "unstable", feature(nonzero, specialization, zero_one))]
#![cfg_attr(all(feature = "std", feature = "unstable"), feature(into_boxed_c_str))]
Expand Down
2 changes: 1 addition & 1 deletion serde_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde_derive"
version = "0.9.13"
version = "0.9.13" # remember to update html_root_url
authors = ["Erick Tryzelaar <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]"
Expand Down
2 changes: 2 additions & 0 deletions serde_derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![doc(html_root_url = "https://docs.rs/serde_derive/0.9.13")]

#![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))]
#![cfg_attr(feature = "cargo-clippy", allow(used_underscore_binding))]

Expand Down
2 changes: 1 addition & 1 deletion serde_test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde_test"
version = "0.9.13"
version = "0.9.13" # remember to update html_root_url
authors = ["Erick Tryzelaar <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Token De/Serializer for testing De/Serialize implementations"
Expand Down
2 changes: 2 additions & 0 deletions serde_test/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![doc(html_root_url = "https://docs.rs/serde_test/0.9.13")]

#[macro_use]
extern crate serde;

Expand Down

0 comments on commit dc7ab26

Please sign in to comment.