mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-24 20:18:18 +00:00
Per Rancher version API references
This commit is contained in:
+25
-5
@@ -248,6 +248,26 @@ module.exports = {
|
||||
spec: 'openapi/swagger.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
{
|
||||
id: 'rancher-api-v2-11',
|
||||
spec: 'openapi/swagger-v2.11.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
{
|
||||
id: 'rancher-api-v2-10',
|
||||
spec: 'openapi/swagger-v2.10.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
{
|
||||
id: 'rancher-api-v2-9',
|
||||
spec: 'openapi/swagger-v2.9.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
{
|
||||
id: 'rancher-api-v2-8',
|
||||
spec: 'openapi/swagger-v2.8.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
],
|
||||
// Theme Options for modifying how redoc renders them
|
||||
theme: {
|
||||
@@ -271,7 +291,7 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.8/integrations-in-rancher/fleet',
|
||||
from: ['/v2.8/pages-for-subheaders/deploy-apps-across-clusters', '/v2.8/how-to-guides/new-user-guides/deploy-apps-across-clusters', '/v2.8/how-to-guides/new-user-guides/deploy-apps-across-clusters/fleet', '/v2.8/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps']
|
||||
},
|
||||
},
|
||||
{
|
||||
to: '/v2.7/integrations-in-rancher/fleet-gitops-at-scale',
|
||||
from: ['/v2.7/pages-for-subheaders/deploy-apps-across-clusters', '/v2.7/how-to-guides/new-user-guides/deploy-apps-across-clusters', '/v2.7/how-to-guides/new-user-guides/deploy-apps-across-clusters/fleet', '/v2.7/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps']
|
||||
@@ -1679,7 +1699,7 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.11/how-to-guides/advanced-user-guides/monitoring-v2-configuration-guides',
|
||||
from: '/v2.11/monitoring-alerting/configuration',
|
||||
},
|
||||
},
|
||||
{
|
||||
to: '/v2.11/integrations-in-rancher/monitoring-and-alerting',
|
||||
from: '/v2.11/monitoring-alerting',
|
||||
@@ -1691,7 +1711,7 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.10/how-to-guides/advanced-user-guides/monitoring-v2-configuration-guides',
|
||||
from: '/v2.10/monitoring-alerting/configuration',
|
||||
},
|
||||
},
|
||||
{
|
||||
to: '/v2.10/integrations-in-rancher/monitoring-and-alerting',
|
||||
from: '/v2.10/monitoring-alerting',
|
||||
@@ -1703,7 +1723,7 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.9/how-to-guides/advanced-user-guides/monitoring-v2-configuration-guides',
|
||||
from: '/v2.9/monitoring-alerting/configuration',
|
||||
},
|
||||
},
|
||||
{
|
||||
to: '/v2.9/integrations-in-rancher/monitoring-and-alerting',
|
||||
from: '/v2.9/monitoring-alerting',
|
||||
@@ -2056,7 +2076,7 @@ module.exports = {
|
||||
to: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/migrate-to-an-out-of-tree-cloud-provider/migrate-to-out-of-tree-vsphere',
|
||||
from: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-to-out-of-tree-vsphere',
|
||||
},
|
||||
{ to: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/migrate-to-an-out-of-tree-cloud-provider/migrate-to-out-of-tree-vsphere',
|
||||
{ to: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/migrate-to-an-out-of-tree-cloud-provider/migrate-to-out-of-tree-vsphere',
|
||||
from: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-10" />
|
||||
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-11" />
|
||||
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-8" />
|
||||
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-9" />
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-10" />
|
||||
|
||||
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-11" />
|
||||
|
||||
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-8" />
|
||||
|
||||
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-9" />
|
||||
|
||||
Reference in New Issue
Block a user