Add redirect for legacy kubectl links (#4672)
* Add redirect for legacy kubectl links * remove js redirect for kubectl
This commit is contained in:
@@ -21,12 +21,6 @@ $( document ).ready(function() {
|
||||
"to":"/docs/api-reference/v1.7",
|
||||
"postfix":"/#<token>-v1-core"
|
||||
},
|
||||
{
|
||||
"from":"/docs/user-guide/kubectl/kubectl_",
|
||||
"pattern":"kubectl_(\\w+)",
|
||||
"to":"/docs/user-guide/kubectl/v1.7",
|
||||
"postfix":"/#<token>"
|
||||
},
|
||||
{
|
||||
"from":"/docs/contribute/",
|
||||
"pattern":"\/contribute\/([0-9a-zA-Z\-\_]+)",
|
||||
|
||||
Reference in New Issue
Block a user