Skip to content

Commit 9918b3d

Browse files
committed
pr
1 parent 50ec9d8 commit 9918b3d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

evergreen/upload-apidocs.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@ cd ./gh-pages
1414

1515
echo "Generating redirection page..."
1616
# setup simple redirection to the latest version.
17+
1718
rm -f ./api.html
1819
cat > "api.html" << EOL
1920
<!DOCTYPE html>
2021
<html>
2122
<head>
2223
<title>Redirecting...</title>
2324
<meta charset="utf-8">
24-
<link rel="canonical" href="${PACKAGE_VERSION}/api/index.html" />
25-
<meta http-equiv="refresh" content="0; url=${PACKAGE_VERSION}/api/index.html" />
25+
<link rel="canonical" href="https://mongodb.github.io/mongo-csharp-driver/${PACKAGE_VERSION}/api/index.html" />
26+
<meta http-equiv="refresh" content="0; url=https://mongodb.github.io/mongo-csharp-driver/${PACKAGE_VERSION}/api/index.html" />
2627
</head>
2728
<body>
28-
<p>Redirecting you to the <a href="${PACKAGE_VERSION}/api/index.html">latest API Docs</a>...</p>
29+
<p>Redirecting you to the <a href="https://mongodb.github.io/mongo-csharp-driver/${PACKAGE_VERSION}/api/index.html">latest API Docs</a>...</p>
2930
</body>
3031
</html>
3132

0 commit comments

Comments
 (0)