Merge pull request #474 from timstclair/redirect

Forward /docs/user-guide/overview to /docs/whatisk8s
This commit is contained in:
sarahnovotny
2016-05-05 16:37:10 -07:00
+5
View File
@@ -35,6 +35,11 @@ $( document ).ready(function() {
notHere = true;
window.location.replace("http://kubernetes.io/docs/api/");
}
if (forwardingURL.indexOf("docs/user-guide/overview") > -1)
{
notHere = true;
window.location.replace("http://kubernetes.io/docs/whatisk8s/");
}
for (i=0;i<fwdDirs.length;i++) {
if (forwardingURL.indexOf(fwdDirs[i]) > -1)
{