diff options
author | 2024-05-07 21:38:31 +0200 | |
---|---|---|
committer | 2024-05-07 21:38:31 +0200 | |
commit | 247870f83bc12f3f4b549bb582f1058f5adcce25 (patch) | |
tree | 2cceaf79ce699d449b3701c7e4ab9cb4d1b92490 | |
parent | 18b2f8845e5f488822f840c7e66a957af34b1862 (diff) | |
download | iced-247870f83bc12f3f4b549bb582f1058f5adcce25.tar.gz iced-247870f83bc12f3f4b549bb582f1058f5adcce25.tar.bz2 iced-247870f83bc12f3f4b549bb582f1058f5adcce25.zip |
Redirect `docs.iced.rs` to actual docs
-rw-r--r-- | .github/workflows/document.yml | 2 | ||||
-rw-r--r-- | docs/redirect.html | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml index ba482215..827a2ca8 100644 --- a/.github/workflows/document.yml +++ b/.github/workflows/document.yml @@ -27,6 +27,8 @@ jobs: -p iced - name: Write CNAME file run: echo 'docs.iced.rs' > ./target/doc/CNAME + - name: Copy redirect file as index.html + run: cp docs/redirect.html target/doc/index.html - name: Publish documentation if: github.ref == 'refs/heads/master' uses: peaceiris/actions-gh-pages@v3 diff --git a/docs/redirect.html b/docs/redirect.html new file mode 100644 index 00000000..7b2cef51 --- /dev/null +++ b/docs/redirect.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Redirecting...</title> + <meta http-equiv="refresh" content="0; URL='/iced/'" /> +</head> +<body> + <p>If you are not redirected automatically, follow this <a href="/iced/">link</a>.</p> +</body> +</html> |