Skip to content

Commit e604bf9

Browse files
committed
Add 404 redirect to latest docs
1 parent 7bd0ad1 commit e604bf9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ def setup(app):
7979
# so a file named "default.css" will overwrite the builtin "default.css".
8080
html_static_path = []
8181

82+
html_extra_path = ["ops/doc/404.html"]
83+
8284
# Add the SciJava ops logo
8385
html_logo = "ops/images/scijava-ops.svg"
8486
html_theme_options = {

docs/ops/doc/404.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="refresh" content="3; URL=https://ops.scijava.org" />
5+
</head>
6+
</html>

0 commit comments

Comments
 (0)