Files
docs/examples/openapi/lib/source.ts
T
Saatvik AryaandGitHub 9bd279e09b chore: point createMDXSource imports to runtime/next (#2407)
* chore: point createMDXSource imports to runtime/next

* fix: update import path for next runtime in MDX index to maintian backwards compat
2025-09-29 10:51:59 +08:00

11 lines
330 B
TypeScript

import { createMDXSource } from 'fumadocs-mdx/runtime/next';
import { loader } from 'fumadocs-core/source';
import { openapiPlugin } from 'fumadocs-openapi/server';
import { docs, meta } from '@/.source';
export const source = loader({
baseUrl: '/docs',
source: createMDXSource(docs, meta),
plugins: [openapiPlugin()],
});