diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index ad9b0943d4f..e138d24b000 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -21,7 +21,9 @@ jobs: env: RUSTDOCFLAGS: --cfg doc_cfg # --all builds all crates, but with default features for other crates (okay in this case) - run: cargo doc --all --features nightly,serde1,getrandom,small_rng + run: | + cargo doc --all --features nightly,serde1,getrandom,small_rng + echo '' > target/doc/index.html - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: diff --git a/Cargo.toml b/Cargo.toml index 7e151befac8..695933dccee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,8 +5,8 @@ authors = ["The Rand Project Developers", "The Rust Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/rust-random/rand" -documentation = "https://rust-random.github.io/rand/" -homepage = "https://crates.io/crates/rand" +documentation = "https://docs.rs/rand" +homepage = "https://rust-random.github.io/book" description = """ Random number generators and other randomness functionality. """ diff --git a/rand_chacha/Cargo.toml b/rand_chacha/Cargo.toml index 8d7dcd715e8..0a653113d85 100644 --- a/rand_chacha/Cargo.toml +++ b/rand_chacha/Cargo.toml @@ -5,8 +5,8 @@ authors = ["The Rand Project Developers", "The Rust Project Developers", "The Cr license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/rust-random/rand" -documentation = "https://rust-random.github.io/rand/rand_chacha/" -homepage = "https://crates.io/crates/rand_chacha" +documentation = "https://docs.rs/rand_chacha" +homepage = "https://rust-random.github.io/book" description = """ ChaCha random number generator """ diff --git a/rand_core/Cargo.toml b/rand_core/Cargo.toml index c383b312ab0..a53a1215f46 100644 --- a/rand_core/Cargo.toml +++ b/rand_core/Cargo.toml @@ -5,8 +5,8 @@ authors = ["The Rand Project Developers", "The Rust Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/rust-random/rand" -documentation = "https://rust-random.github.io/rand/rand_core/" -homepage = "https://crates.io/crates/rand_core" +documentation = "https://docs.rs/rand_core" +homepage = "https://rust-random.github.io/book" description = """ Core random number generator traits and tools for implementation. """ diff --git a/rand_distr/Cargo.toml b/rand_distr/Cargo.toml index f61f72beb2f..919a3825427 100644 --- a/rand_distr/Cargo.toml +++ b/rand_distr/Cargo.toml @@ -5,8 +5,8 @@ authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/rust-random/rand" -documentation = "https://rust-random.github.io/rand/rand_distr/" -homepage = "https://crates.io/crates/rand_distr" +documentation = "https://docs.rs/rand_distr" +homepage = "https://rust-random.github.io/book" description = """ Sampling from random number distributions """ diff --git a/rand_hc/Cargo.toml b/rand_hc/Cargo.toml index 4ee7e5af04d..403f9f0fb1f 100644 --- a/rand_hc/Cargo.toml +++ b/rand_hc/Cargo.toml @@ -5,8 +5,8 @@ authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/rust-random/rand" -documentation = "https://rust-random.github.io/rand/rand_hc/" -homepage = "https://crates.io/crates/rand_hc" +documentation = "https://docs.rs/rand_hc" +homepage = "https://rust-random.github.io/book" description = """ HC128 random number generator """ diff --git a/rand_pcg/Cargo.toml b/rand_pcg/Cargo.toml index fe4508bae43..4a3f90eff94 100644 --- a/rand_pcg/Cargo.toml +++ b/rand_pcg/Cargo.toml @@ -5,8 +5,8 @@ authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/rust-random/rand" -documentation = "https://rust-random.github.io/rand/rand_pcg/" -homepage = "https://crates.io/crates/rand_pcg" +documentation = "https://docs.rs/rand_pcg" +homepage = "https://rust-random.github.io/book" description = """ Selected PCG random number generators """