Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

Versions

If your project maintains multiple API or SDK versions, you can add a version switcher dropdown to the header. Each version has its own navigation tree.

Basic setup

{ "navigation": { "versions": [ { "version": "v2", "default": true, "tabs": [ { "tab": "Docs", "groups": [ { "group": "Getting Started", "pages": ["v2/index", "v2/quickstart"] } ] } ] }, { "version": "v1", "tabs": [ { "tab": "Docs", "groups": [ { "group": "Getting Started", "pages": ["v1/index", "v1/quickstart"] } ] } ] } ] } }

How it works

  • A native <select> dropdown appears in the header (right of the logo).
  • Selecting a version navigates to its first page and updates the sidebar.
  • If no index page exists, the version marked default: true determines where / redirects to.
  • Inner tabs from all versions are flattened into routes, so every page gets a URL.

Version fields

FieldTypeDescription
versionstringDisplay name in the dropdown
defaultbooleanWhether this is the default version
tagstringBadge next to the version name (e.g. "Latest", "Beta")
hiddenbooleanHide from the dropdown
tabsarrayTabs within this version
groupsarrayGroups within this version (alternative to tabs)
pagesarrayPages within this version (flat, no groups)