Skip to content

Commit da3458b

Browse files
committed
Add HTML redirect
1 parent 98e220c commit da3458b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
env:
2222
RUSTDOCFLAGS: --cfg doc_cfg
2323
# --all builds all crates, but with default features for other crates (okay in this case)
24-
run: cargo doc --all --features nightly,serde1,getrandom,small_rng
24+
run: |
25+
cargo doc --all --features nightly,serde1,getrandom,small_rng
26+
echo '<meta http-equiv="refresh" content="0; URL=rand/index.html"/>' > target/doc/index.html
2527
- name: Deploy
2628
uses: peaceiris/actions-gh-pages@v3
2729
with:

0 commit comments

Comments
 (0)