WIP: Cleanup /docs/contribute/ migration (#3278)
* WIP: Cleanup /docs/contribute/ migration * #3278 Changing /docs/contribute to /docs/home/contribute (#3285) * WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/ * WIP: #3278 modifying /docs/contribute/ paths within files to /docs/home/contribute/ * Revert "WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/" This reverts commit a82efdee505d7a409cb3c86240cc0ee976a2e566. * WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/ * WIP: #3278 Correcting syntax mistake in redirect.js * WIP: #3278 Correcting another syntax mistake in redirect.js * WIP: #3278 Removing deprecated files so redirects work * Removing the # * WIP: #3278 Updating pattern in redirect.js * WIP: #3278 Removed the wrong # previously redirect.js
This commit is contained in:
@@ -12,6 +12,12 @@ $( document ).ready(function() {
|
||||
"pattern":"kubectl_(\\w+)",
|
||||
"to":"/docs/user-guide/kubectl/v1.6",
|
||||
"postfix":"/#<token>"
|
||||
},
|
||||
{
|
||||
"from":"/docs/contribute/",
|
||||
"pattern":"\/contribute\/([0-9a-zA-Z\-\_]+)",
|
||||
"to":"/docs/home/contribute",
|
||||
"postfix":"/<token>"
|
||||
}];
|
||||
var doRedirect = false;
|
||||
var notHere = false;
|
||||
|
||||
Reference in New Issue
Block a user