mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-12 19:30:38 -07:00
- Updated `.gitignore` to include new build and generated content directories. - Removed outdated Mintlify configuration files and documentation. - Introduced new `MIGRATION.md` to outline the transition from Mintlify to Fumadocs. - Added `mdx-components.tsx` for MDX component configuration and compatibility. - Updated `package.json` and `next.config.mjs` for new dependencies and Next.js configuration. - Created `source.config.ts` for content source configuration. - Added OpenAPI specification in `openapi.json` for API documentation. - Removed legacy files and adjusted project structure to align with Fumadocs conventions.
11 lines
279 B
TypeScript
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/');
|