mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-04-15 02:45:40 +00:00
@@ -172,6 +172,24 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
],
|
||||
[
|
||||
'redocusaurus',
|
||||
{
|
||||
// Plugin Options for loading OpenAPI files
|
||||
specs: [
|
||||
{
|
||||
id: 'rancher-api',
|
||||
spec: 'openapi/swagger.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
],
|
||||
// Theme Options for modifying how redoc renders them
|
||||
theme: {
|
||||
// Change with your site colors
|
||||
primaryColor: '#1890ff',
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: [
|
||||
[
|
||||
|
||||
5533
openapi/swagger.json
Normal file
5533
openapi/swagger.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -23,6 +23,7 @@
|
||||
"prism-react-renderer": "^1.3.3",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"redocusaurus": "^1.6.3",
|
||||
"remark-cli": "^11.0.0",
|
||||
"remark-lint-no-dead-urls": "^1.1.0",
|
||||
"remark-validate-links": "^12.1.0",
|
||||
|
||||
7
versioned_docs/version-2.8/api/api-reference.mdx
Normal file
7
versioned_docs/version-2.8/api/api-reference.mdx
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: API Reference
|
||||
---
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
@@ -1262,6 +1262,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"contribute-to-rancher"
|
||||
"contribute-to-rancher",
|
||||
{
|
||||
"type": "category",
|
||||
"label": "API",
|
||||
"items": [
|
||||
"api/api-reference"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user