From 2238cb96bc2d15fda46269059710cb7187603dba Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Fri, 5 Dec 2025 08:25:49 +0000 Subject: [PATCH 1/2] Remove CI for gh-pages deployment --- .github/workflows/gh-pages.yml | 47 ---------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/gh-pages.yml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml deleted file mode 100644 index 1d83a77bd7f..00000000000 --- a/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: gh-pages - -permissions: - contents: read - pages: write - id-token: write - -on: - push: - branches: - - master - -jobs: - deploy: - name: GH-pages documentation - runs-on: ubuntu-latest - environment: - name: github-pages - url: https://rust-random.github.io/rand/ - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install toolchain - uses: dtolnay/rust-toolchain@nightly - - - name: Build docs - env: - RUSTDOCFLAGS: --cfg doc_cfg - # --all builds all crates, but with default features for other crates (okay in this case) - run: | - cargo doc --all --all-features --no-deps - cp utils/redirect.html target/doc/index.html - rm target/doc/.lock - - - name: Setup Pages - uses: actions/configure-pages@v5 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: './target/doc' - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 From b72dac1f53b0574222b430fdb8332e8b1a050d30 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Fri, 5 Dec 2025 08:29:31 +0000 Subject: [PATCH 2/2] Remove links to rust-random.github.io/rand --- README.md | 2 -- rand_chacha/README.md | 2 -- rand_chacha/src/lib.rs | 3 +-- rand_pcg/README.md | 2 -- rand_pcg/src/lib.rs | 3 +-- src/lib.rs | 3 +-- 6 files changed, 3 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f3fc7f1f192..433736a6ded 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![Test Status](https://github.com/rust-random/rand/actions/workflows/test.yml/badge.svg?event=push)](https://github.com/rust-random/rand/actions) [![Crate](https://img.shields.io/crates/v/rand.svg)](https://crates.io/crates/rand) [![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/) -[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand) [![API](https://docs.rs/rand/badge.svg)](https://docs.rs/rand) Rand is a set of crates supporting (pseudo-)random generators: @@ -48,7 +47,6 @@ Rand **is not**: Documentation: - [The Rust Rand Book](https://rust-random.github.io/book) -- [API reference (master branch)](https://rust-random.github.io/rand) - [API reference (docs.rs)](https://docs.rs/rand) diff --git a/rand_chacha/README.md b/rand_chacha/README.md index 83ca65fe84f..7b00ff94765 100644 --- a/rand_chacha/README.md +++ b/rand_chacha/README.md @@ -3,7 +3,6 @@ [![Test Status](https://github.com/rust-random/rand/actions/workflows/test.yml/badge.svg?event=push)](https://github.com/rust-random/rand/actions) [![Latest version](https://img.shields.io/crates/v/rand_chacha.svg)](https://crates.io/crates/rand_chacha) [![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/) -[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand_chacha) [![API](https://docs.rs/rand_chacha/badge.svg)](https://docs.rs/rand_chacha) A cryptographically secure random number generator that uses the ChaCha @@ -19,7 +18,6 @@ the [`c2-chacha`](https://crates.io/crates/c2-chacha) crate. Links: -- [API documentation (master)](https://rust-random.github.io/rand/rand_chacha) - [API documentation (docs.rs)](https://docs.rs/rand_chacha) - [Changelog](https://github.com/rust-random/rand/blob/master/rand_chacha/CHANGELOG.md) diff --git a/rand_chacha/src/lib.rs b/rand_chacha/src/lib.rs index 112ffe6f400..a06976e09fe 100644 --- a/rand_chacha/src/lib.rs +++ b/rand_chacha/src/lib.rs @@ -82,8 +82,7 @@ #![doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png", - html_favicon_url = "https://www.rust-lang.org/favicon.ico", - html_root_url = "https://rust-random.github.io/rand/" + html_favicon_url = "https://www.rust-lang.org/favicon.ico" )] #![forbid(unsafe_code)] #![deny(missing_docs)] diff --git a/rand_pcg/README.md b/rand_pcg/README.md index 50e91e59795..ab4909bd17b 100644 --- a/rand_pcg/README.md +++ b/rand_pcg/README.md @@ -3,7 +3,6 @@ [![Test Status](https://github.com/rust-random/rand/actions/workflows/test.yml/badge.svg?event=push)](https://github.com/rust-random/rand/actions) [![Latest version](https://img.shields.io/crates/v/rand_pcg.svg)](https://crates.io/crates/rand_pcg) [![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/) -[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand_pcg) [![API](https://docs.rs/rand_pcg/badge.svg)](https://docs.rs/rand_pcg) Implements a selection of PCG random number generators. @@ -20,7 +19,6 @@ part of the [Rand project](https://github.com/rust-random/rand). Links: -- [API documentation (master)](https://rust-random.github.io/rand/rand_pcg) - [API documentation (docs.rs)](https://docs.rs/rand_pcg) - [Changelog](https://github.com/rust-random/rand/blob/master/rand_pcg/CHANGELOG.md) diff --git a/rand_pcg/src/lib.rs b/rand_pcg/src/lib.rs index 300d6bbc404..1dcabe7fcd5 100644 --- a/rand_pcg/src/lib.rs +++ b/rand_pcg/src/lib.rs @@ -81,8 +81,7 @@ #![doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png", - html_favicon_url = "https://www.rust-lang.org/favicon.ico", - html_root_url = "https://rust-random.github.io/rand/" + html_favicon_url = "https://www.rust-lang.org/favicon.ico" )] #![forbid(unsafe_code)] #![deny(missing_docs)] diff --git a/src/lib.rs b/src/lib.rs index 3ae859eed45..a42838d52d3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,8 +41,7 @@ #![doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png", - html_favicon_url = "https://www.rust-lang.org/favicon.ico", - html_root_url = "https://rust-random.github.io/rand/" + html_favicon_url = "https://www.rust-lang.org/favicon.ico" )] #![deny(missing_docs)] #![deny(missing_debug_implementations)]