Files
voicebox/docs2/scripts/generate-openapi.ts
T
Jamie Pine 64dd29d35a Add initial setup for Fumadocs documentation migration
- Created new directory structure for documentation under `/docs2`.
- Added `.gitignore` to exclude build artifacts and dependencies.
- Introduced `package.json`, `next.config.mjs`, and `postcss.config.mjs` for project configuration.
- Implemented MDX components in `mdx-components.tsx` for rendering documentation.
- Migrated existing documentation content and created new files for auto-updater and other features.
- Established compatibility layer for Mintlify components in `mintlify-compat.tsx`.
- Set up OpenAPI documentation in `openapi.json`.
- Updated README and migration guide to reflect new structure and usage instructions.
- Ensured all components and pages are ready for development and deployment with Fumadocs.
2026-01-30 23:32:45 -08:00

11 lines
279 B
TypeScript

import { generateFiles } from 'fumadocs-openapi';
import { openapi } from '../lib/openapi';
await generateFiles({
input: openapi,
output: 'content/docs/api-reference',
groupBy: 'tag',
});
console.log('✓ OpenAPI documentation generated in content/docs/api-reference/');