mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-04-17 21:37:06 -04:00
24 lines
682 B
TypeScript
24 lines
682 B
TypeScript
// @ts-nocheck
|
|
/// <reference types="vite/client" />
|
|
import { server } from 'fumadocs-mdx/runtime/server';
|
|
import type * as Config from '../source.config';
|
|
|
|
const create = server<typeof Config, import("fumadocs-mdx/runtime/types").InternalTypeConfig & {
|
|
DocData: {
|
|
}
|
|
}>({"doc":{"passthroughs":["extractedReferences"]}});
|
|
|
|
export const docs = await create.docs("docs", "content/docs", import.meta.glob(["./**/*.{json,yaml}"], {
|
|
"base": "./../content/docs",
|
|
"query": {
|
|
"collection": "docs"
|
|
},
|
|
"import": "default",
|
|
"eager": true
|
|
}), import.meta.glob(["./**/*.{mdx,md}"], {
|
|
"base": "./../content/docs",
|
|
"query": {
|
|
"collection": "docs"
|
|
},
|
|
"eager": true
|
|
})); |