Whisper / docs /lib /source.ts
openreels-deploy
OpenReels on Hugging Face Spaces: automation REST API, no-AI-assets mode, stock-clip cap and render timeout fixes
311fa35
Raw History Blame Contribute Delete
419 Bytes
import { docs } from "@/.source";
import { loader } from "fumadocs-core/source";
const fumadocsSource = docs.toFumadocsSource();
// fumadocs-mdx types say `files` is an array, but runtime returns a function.
// Call the function to get the actual array.
const files = (fumadocsSource.files as unknown as () => typeof fumadocsSource.files)();
export const source = loader({
source: { files },
baseUrl: "/docs",
});