mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
Adding redirects for new pages from old URL's and grouping more logically in the config file.
Signed-off-by: Sunil Singh <sunil.singh@suse.com>
This commit is contained in:
+18
-4
@@ -1693,10 +1693,6 @@ module.exports = {
|
||||
to: '/v2.8/api/v3-rancher-api-guide',
|
||||
from: '/v2.8/pages-for-subheaders/about-the-api'
|
||||
},
|
||||
{
|
||||
to: '/v2.8/api/v3-rancher-api-guide',
|
||||
from: '/v2.8/reference-guides/about-the-api'
|
||||
},
|
||||
{
|
||||
to: '/v2.8/how-to-guides/new-user-guides/manage-clusters/access-clusters',
|
||||
from: '/v2.8/pages-for-subheaders/access-clusters'
|
||||
@@ -3436,7 +3432,25 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.7/reference-guides/best-practices/rancher-server/tuning-and-best-practices-for-rancher-at-scale',
|
||||
from: '/v2.7/reference-guides/best-practices/rancher-server/tips-for-scaling-rancher'
|
||||
},
|
||||
// Redirects for restructure from PR #1147 (start)
|
||||
{
|
||||
to: '/v2.8/api/v3-rancher-api-guide',
|
||||
from: '/v2.8/reference-guides/about-the-api'
|
||||
},
|
||||
{
|
||||
to: '/v2.8/api/api-tokens',
|
||||
from: '/v2.8/reference-guides/about-the-api/api-tokens'
|
||||
},
|
||||
{
|
||||
to: '/api/v3-rancher-api-guide',
|
||||
from: '/reference-guides/about-the-api'
|
||||
},
|
||||
{
|
||||
to: '/api/api-tokens',
|
||||
from: '/reference-guides/about-the-api/api-tokens'
|
||||
}
|
||||
// Redirects for restructure from PR #1147 (end)
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user