docs: redirect existing 2.5 links to 2.5-legacy route
This commit is contained in:
parent
19868f636f
commit
cdd7b7862f
@ -111,6 +111,11 @@ const config = {
|
||||
// creates new routes /dev/something pointing to /development
|
||||
redirect_list.push( path.replace("/development", "/dev") );
|
||||
}
|
||||
// redirect old links to the now modified url (includes -legacy)
|
||||
if ( path.startsWith("/2.5") ) {
|
||||
redirect_list.push( path.replace("/2.5", "/2.5-legacy") );
|
||||
}
|
||||
|
||||
return redirect_list;
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user