Skip to content

Commit 856720d

Browse files
authored
Simple 404 in _static (pyscript#1495)
* Simple 404 in _static * Docs 404 error * s3_error.html
1 parent 8f2c150 commit 856720d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/docs-unstable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
# Sync will only copy changed files
5353
- name: Sync Error
54-
run: aws s3 cp --quiet ./docs/_build/html/error.html s3://docs.pyscript.net/error.html
54+
run: aws s3 cp --quiet ./docs/_static/s3_error.html s3://docs.pyscript.net/error.html
5555

5656
# Sync will only copy changed files
5757
- name: Sync to S3

docs/_static/s3_error.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<html><head><meta http-equiv="refresh" content="5; URL='/latest/'" /></head><body>
2+
<h1>404 - File not found</h1>
3+
<p>You will be redirected to the latest documentation in 5 seconds.</p>
4+
</body></html>

0 commit comments

Comments
 (0)