Updating the config with consolidated redirects and fixing version syntax.

Signed-off-by: Sunil Singh <sunil.singh@suse.com>
This commit is contained in:
Sunil Singh
2024-05-13 11:38:14 -07:00
parent a537499c55
commit d60fec6c54
3 changed files with 4 additions and 12 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ title: Previous v3 Rancher API Guide
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/api/v3-rancher-api-guide"/>
</head>
Rancher 2.8.0 introduced the Rancher Kubernetes API (RK-API). The previous v3 Rancher API is still available. This page describes the v3 API. For more information on RK-API, see the [RK-API quickstart](./quickstart.md) and [reference guide](./api-reference.mdx).
Rancher v2.8.0 introduced the Rancher Kubernetes API (RK-API). The previous v3 Rancher API is still available. This page describes the v3 API. For more information on RK-API, see the [RK-API quickstart](./quickstart.md) and [reference guide](./api-reference.mdx).
## How to Use the API
+2 -10
View File
@@ -1717,10 +1717,6 @@ module.exports = {
to: '/v2.8/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/about-rke1-templates',
from: '/v2.8/pages-for-subheaders/about-rke1-templates'
},
{
to: '/v2.8/api/v3-rancher-api-guide',
from: '/v2.8/pages-for-subheaders/about-the-api'
},
{
to: '/v2.8/how-to-guides/new-user-guides/manage-clusters/access-clusters',
from: '/v2.8/pages-for-subheaders/access-clusters'
@@ -2061,10 +2057,6 @@ module.exports = {
to: '/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/about-rke1-templates',
from: '/pages-for-subheaders/about-rke1-templates'
},
{
to: '/api/v3-rancher-api-guide',
from: '/pages-for-subheaders/about-the-api'
},
{
to: '/how-to-guides/new-user-guides/manage-clusters/access-clusters',
from: '/pages-for-subheaders/access-clusters'
@@ -3456,7 +3448,7 @@ module.exports = {
// Redirects for restructure from PR #1147 (start)
{
to: '/v2.8/api/v3-rancher-api-guide',
from: '/v2.8/reference-guides/about-the-api'
from: ['/v2.8/reference-guides/about-the-api', '/v2.8/pages-for-subheaders/about-the-api']
},
{
to: '/v2.8/api/api-tokens',
@@ -3464,7 +3456,7 @@ module.exports = {
},
{
to: '/api/v3-rancher-api-guide',
from: '/reference-guides/about-the-api'
from: ['/reference-guides/about-the-api', '/pages-for-subheaders/about-the-api']
},
{
to: '/api/api-tokens',
@@ -6,7 +6,7 @@ title: Previous v3 Rancher API Guide
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/api/v3-rancher-api-guide"/>
</head>
Rancher 2.8.0 introduced the Rancher Kubernetes API (RK-API). The previous v3 Rancher API is still available. This page describes the v3 API. For more information on RK-API, see the [RK-API quickstart](./quickstart.md) and [reference guide](./api-reference.mdx).
Rancher v2.8.0 introduced the Rancher Kubernetes API (RK-API). The previous v3 Rancher API is still available. This page describes the v3 API. For more information on RK-API, see the [RK-API quickstart](./quickstart.md) and [reference guide](./api-reference.mdx).
## How to Use the API