mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 05:10:42 -07:00
- Introduced Docker support with CPU-only and GPU-enabled configurations via Dockerfiles and docker-compose files. - Added a .dockerignore file to exclude unnecessary files from Docker images. - Updated bun.lock and package.json to include new dependencies for icon handling. - Enhanced README with Docker usage instructions and deployment options. - Refactored components to utilize new icon libraries for improved UI consistency.
40 lines
711 B
TypeScript
40 lines
711 B
TypeScript
import defaultMdxComponents from 'fumadocs-ui/mdx';
|
|
import type { MDXComponents } from 'mdx/types';
|
|
import { APIPage } from '@/components/api-page';
|
|
import {
|
|
Accordion,
|
|
AccordionGroup,
|
|
CardGroup,
|
|
Danger,
|
|
Frame,
|
|
Info,
|
|
MintlifyCard,
|
|
Note,
|
|
Step,
|
|
Steps,
|
|
Tip,
|
|
Warning,
|
|
} from '@/components/mintlify-compat';
|
|
|
|
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultMdxComponents,
|
|
// Mintlify compatibility components
|
|
Frame,
|
|
CardGroup,
|
|
Card: MintlifyCard,
|
|
Steps,
|
|
Step,
|
|
Tip,
|
|
Note,
|
|
Warning,
|
|
Info,
|
|
Danger,
|
|
AccordionGroup,
|
|
Accordion,
|
|
// OpenAPI component
|
|
APIPage,
|
|
...components,
|
|
};
|
|
}
|