Merge pull request #1078 from rust-random/work2

Fix doc links
This commit is contained in:
Diggory Hardy 2020-12-15 10:53:29 +00:00 committed by GitHub
commit d4b180db8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 13 deletions

View File

@ -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 '<meta http-equiv="refresh" content="0; URL=rand/index.html"/>' > target/doc/index.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:

View File

@ -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.
"""

View File

@ -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
"""

View File

@ -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.
"""

View File

@ -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
"""

View File

@ -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
"""

View File

@ -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
"""