diff --git a/.travis.yml b/.travis.yml index 920692f..04cc170 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ after_success: | eval "$(ssh-agent -s)" && ssh-add .travis/deploy && pip install ghp-import --user $USER && - cp doc/index.html target/doc/ && + cp doc/* target/doc/ && $HOME/.local/bin/ghp-import -n target/doc && git push -qf ssh://git@github.com/${TRAVIS_REPO_SLUG}.git gh-pages notifications: diff --git a/Cargo.toml b/Cargo.toml index 0455c3f..0cfde4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,9 +4,9 @@ name = "num" version = "0.1.27" authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" -homepage = "https://github.com/rust-lang/num" -repository = "https://github.com/rust-lang/num" -documentation = "http://doc.rust-lang.org/num" +homepage = "https://github.com/rust-num/num" +repository = "https://github.com/rust-num/num" +documentation = "http://rust-num.github.io/num" keywords = ["mathematics", "numerics"] description = """ Simple numerics. This crate contains basic arbitrary-sized integer, diff --git a/README.md b/README.md index 413ad08..516709d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Arbitrary sized numeric types for Rust. -[Documentation](http://doc.rust-lang.org/num) +[Documentation](http://rust-num.github.io/num) ## Usage diff --git a/doc/favicon.ico b/doc/favicon.ico new file mode 100644 index 0000000..b8ad237 Binary files /dev/null and b/doc/favicon.ico differ diff --git a/doc/rust-logo-128x128-blk-v2.png b/doc/rust-logo-128x128-blk-v2.png new file mode 100644 index 0000000..74b4bd6 Binary files /dev/null and b/doc/rust-logo-128x128-blk-v2.png differ diff --git a/num-macros/Cargo.toml b/num-macros/Cargo.toml index 47d5a27..a80baaa 100644 --- a/num-macros/Cargo.toml +++ b/num-macros/Cargo.toml @@ -3,9 +3,9 @@ name = "num-macros" version = "0.1.27" authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" -homepage = "https://github.com/rust-lang/num" -repository = "https://github.com/rust-lang/num" -documentation = "http://doc.rust-lang.org/num" +homepage = "https://github.com/rust-num/num" +repository = "https://github.com/rust-num/num" +documentation = "http://rust-num.github.io/num" keywords = ["mathematics", "numerics"] description = """ Numeric syntax extensions. diff --git a/src/lib.rs b/src/lib.rs index ab8aec7..fbdf8c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,9 +48,9 @@ //! ``` //! //! [newt]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method -#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", - html_favicon_url = "http://www.rust-lang.org/favicon.ico", - html_root_url = "http://doc.rust-lang.org/num/", +#![doc(html_logo_url = "http://rust-num.github.io/num/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://rust-num.github.io/num/favicon.ico", + html_root_url = "http://rust-num.github.io/num/", html_playground_url = "http://play.rust-lang.org/")] #[cfg(feature = "rustc-serialize")]