Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc links #1078

Merged
merged 3 commits into from Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/gh-pages.yml
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -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.
"""
Expand Down
4 changes: 2 additions & 2 deletions rand_chacha/Cargo.toml
Expand Up @@ -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
"""
Expand Down
4 changes: 2 additions & 2 deletions rand_core/Cargo.toml
Expand Up @@ -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.
"""
Expand Down
4 changes: 2 additions & 2 deletions rand_distr/Cargo.toml
Expand Up @@ -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
"""
Expand Down
4 changes: 2 additions & 2 deletions rand_hc/Cargo.toml
Expand Up @@ -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
"""
Expand Down
4 changes: 2 additions & 2 deletions rand_pcg/Cargo.toml
Expand Up @@ -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
"""
Expand Down