Skip to content

Latest commit

 

History

History
68 lines (67 loc) · 1.98 KB

404.md

File metadata and controls

68 lines (67 loc) · 1.98 KB
layout title permalink
docwithnav
404 Error!
/404.html
<script language="JavaScript"> $( document ).ready(function() { var oldURLs=["/README.md","/README.html",".html",".md","/v1.1/","/v1.0/"]; var fwdDirs=["examples/","cluster/","docs/devel","docs/design"]; var doRedirect = false; var notHere = false; var forwardingURL=window.location.href; if (forwardingURL.indexOf("third_party/swagger-ui") > -1) { notHere = true; window.location.replace("http://kubernetes.io/kubernetes/third_party/swagger-ui/"); } if (forwardingURL.indexOf("resource-quota") > -1) { notHere = true; window.location.replace("http://kubernetes.io/docs/admin/resourcequota/"); } if (forwardingURL.indexOf("horizontal-pod-autoscaler") > -1) { notHere = true; window.location.replace("http://kubernetes.io/docs/user-guide/horizontal-pod-autoscaling/"); } if (forwardingURL.indexOf("docs/roadmap") > -1) { notHere = true; window.location.replace("https://github.com/kubernetes/kubernetes/milestones/"); } if (forwardingURL.indexOf("api-ref/") > -1) { 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 -1) { var urlPieces = forwardingURL.split(fwdDirs[i]); var newURL = "https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/" + fwdDirs[i] + urlPieces[1]; notHere = true; window.location.replace(newURL); } } if (!notHere) { for (i=0;i -1) { doRedirect=true; forwardingURL=forwardingURL.replace(oldURLs[i],"/"); } } if (doRedirect) { window.location.replace(forwardingURL); }; } }); </script>

Sorry, this page was not found. :(