docs: add interactive API reference using docusaurus-openapi-docs (#37434)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-01-28 11:16:25 -08:00
committed by GitHub
parent 073c3c72b4
commit ad0186093f
14 changed files with 10472 additions and 120 deletions

View File

@@ -107,9 +107,21 @@ const sidebars = {
id: 'faq',
},
{
type: 'doc',
label: 'API',
id: 'api',
type: 'category',
label: 'API Reference',
link: {
type: 'doc',
id: 'api',
},
items: (() => {
try {
// eslint-disable-next-line @typescript-eslint/no-require-imports
return require('./docs/api/sidebar.js');
} catch {
// Generated by `yarn generate:api-docs`; empty until then
return [];
}
})(),
},
],
};