Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bin/update-gh-pages-documentation-site
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ swift package \
# Save the current commit we've just built documentation from in a variable
CURRENT_COMMIT_HASH=`git rev-parse --short HEAD`

# Copy the redirect file into the 'gh-pages' directory
cp lib/redirect.html gh-pages/docs/index.html

# Commit and push our changes to the gh-pages branch
cd gh-pages
git add docs
Expand Down
10 changes: 10 additions & 0 deletions lib/redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>AsyncAlgorithms Documentation</title>
<meta http-equiv = "refresh" content = "0; url = https://apple.github.io/swift-async-algorithms/documentation/asyncalgorithms/" />
</head>
<body>
<p>Redirecting...</p>
</body>
</html>