mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
* chore: point createMDXSource imports to runtime/next * fix: update import path for next runtime in MDX index to maintian backwards compat
11 lines
330 B
TypeScript
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()],
|
|
});
|