knowledge/lib/source.ts

9 lines
222 B
TypeScript

import { docs, meta } from "@/.source"
import { createMDXSource } from "fumadocs-mdx"
import { loader } from "fumadocs-core/source"
export const source = loader({
baseUrl: "/",
source: createMDXSource(docs, meta),
})