Skip to content

Commit

Permalink
Add html_root_url attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-tkach committed May 5, 2017
1 parent 01c0932 commit 4ceb629
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]

name = "url"
# When updating version, also modify html_root_url in the lib.rs
version = "1.4.0"
authors = ["The rust-url developers"]

Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ let css_url = this_document.join("../main.css").unwrap();
assert_eq!(css_url.as_str(), "http://servo.github.io/rust-url/main.css")
*/

#![doc(html_root_url = "https://docs.rs/url/1.4.0")]

#[cfg(feature="rustc-serialize")] extern crate rustc_serialize;
#[macro_use] extern crate matches;
#[cfg(feature="serde")] extern crate serde;
Expand Down

0 comments on commit 4ceb629

Please sign in to comment.