Getting Started
Core Concepts
Components
API References
- Playground
- OpenAPI
- AsyncAPI
- MDX
- Troubleshooting
Configurations
Guides
Deep Dive
- Integrations
- Custom Subdirectory
- Auth & Personalization
- Dashboard Access
- Model Context Protocol
Navigation
Versions
"versions"
in your docs.json
can be leveraged to partition your navigation into different versions.
docs.json
Copy
{
"navigation": {
"versions": [
{
"version": "1.0.0",
"groups": [
{
"group": "Getting Started",
"pages": ["v1/overview", "v1/quickstart", "v1/development"]
}
]
},
{
"version": "2.0.0",
"groups": [
{
"group": "Getting Started",
"pages": ["v2/overview", "v2/quickstart", "v2/development"]
}
]
}
]
}
}
You can also add versioning to a specific section of your docs by nesting a version.
docs.json
Copy
{
"tabs": [
{
"tab": "Guides",
"pages": ["overview", "quickstart"]
},
{
"tab": "SDKs",
"versions": [
{
"version": "latest",
"anchors": [
{
"anchor": "Javascript",
"pages": ["sdk/js/create", "sdk/js/edit", "sdk/js/delete"]
},
{
"anchor": "Python",
"pages": ["sdk/py/create", "sdk/py/edit", "sdk/py/delete"]
}
]
}
]
}
]
}
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.