Skip to content

Commit 7090a41

Browse files
committed
Add 404 redirect to latest docs
1 parent da0424f commit 7090a41

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<!-- HACK: Temporarily redirect to the latest documentation -->
5+
<meta http-equiv="refresh" content="0; URL=https://ops.scijava.org" />
6+
</head>
7+
</html>

0 commit comments

Comments
 (0)