Skip to content

Commit

Permalink
Update buildDocs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shipp02 authored Feb 12, 2024
1 parent 4645db3 commit 999736c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/buildDocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ for current_version in ${versions}; do

done

# return to master branch
git checkout master
# return to main branch
git checkout main

#######################
# Update GitHub Pages #
Expand All @@ -118,10 +118,10 @@ cat > index.html <<EOF
<html>
<head>
<title>helloWorld Docs</title>
<meta http-equiv = "refresh" content="0; url='/${REPO_NAME}/en/master/'" />
<meta http-equiv = "refresh" content="0; url='/${REPO_NAME}/en/main/'" />
</head>
<body>
<p>Please wait while you're redirected to our <a href="/${REPO_NAME}/en/master/">documentation</a>.</p>
<p>Please wait while you're redirected to our <a href="/${REPO_NAME}/en/main/">documentation</a>.</p>
</body>
</html>
EOF
Expand Down

0 comments on commit 999736c

Please sign in to comment.