mirror of
https://github.com/Dokploy/website.git
synced 2026-07-20 05:15:25 +02:00
- Introduced new MDX components and configuration files for the documentation site. - Added various images and icons to enhance the visual representation of the documentation. - Updated package.json and pnpm-lock.yaml to include new dependencies for the documentation. - Created a .gitignore file for the new docs app to manage ignored files effectively. - Enhanced README with instructions for restarting the dev server after adding new MDX files.
14 lines
394 B
TypeScript
14 lines
394 B
TypeScript
import defaultMdxComponents from 'fumadocs-ui/mdx';
|
|
import type { MDXComponents } from 'mdx/types';
|
|
import { ImageZoom } from 'fumadocs-ui/components/image-zoom';
|
|
import { Callout } from 'fumadocs-ui/components/callout';
|
|
|
|
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultMdxComponents,
|
|
ImageZoom,
|
|
Callout,
|
|
...components,
|
|
};
|
|
}
|