Skip to content

Commit e30cd45

Browse files
committed
doc: tweak home page redirect to latest
Try to reduce the page flash when redirecting to latest/index.html Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
1 parent 63743d8 commit e30cd45

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

doc/scripts/publish-index.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<html>
2-
<head>
3-
<title>ACRN Hypervisor documentation</title>
4-
<meta http-equiv="refresh" content="0; URL=latest/index.html">
5-
<meta name="keywords" content="automatic redirection">
6-
</head>
7-
<body>
8-
Please visit the <a href="/latest/">latest ACRN documentation</a>
9-
</body>
2+
<head>
3+
<title>ACRN Hypervisor documentation</title>
4+
<meta http-equiv="refresh" content="0; URL=latest/index.html">
5+
<script>
6+
window.location.href = "latest/index.html"
7+
</script>
8+
</head>
9+
<body>
10+
<p>Please visit the <a href="/latest/">latest ACRN documentation</a></p>
11+
</body>
1012
</html>

0 commit comments

Comments
 (0)