Skip to content

Commit 65e1733

Browse files
authored
Redirect to the documentation from the homepage (apple#245)
This PR fixes the homepage at https://apple.github.io/container/
1 parent 8e892be commit 65e1733

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

scripts/make-docs.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,15 @@ fi
4040
/usr/bin/swift package ${opts[@]}
4141

4242
echo '{}' > "$1/theme-settings.json"
43+
44+
cat > "$1/index.html" <<'EOF'
45+
<html lang="en-US">
46+
<head>
47+
<meta charset="utf-8">
48+
<meta http-equiv="refresh" content="0; url=./documentation/">
49+
</head>
50+
<body>
51+
<p>If you are not redirected automatically, <a href="./documentation/">click here</a>.</p>
52+
</body>
53+
</html>
54+
EOF

0 commit comments

Comments
 (0)