Spaces:
Paused
Paused
Download OpenReels/docs/lib/source.ts from abc1181/perplexica: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/abc1181/perplexica/resolve/main/OpenReels/docs/lib/source.ts
- Command line
-
hf download hf://spaces/abc1181/perplexica/OpenReels/docs/lib/source.ts
-
curl -L -o source.ts https://huggingface.co/spaces/abc1181/perplexica/resolve/main/OpenReels/docs/lib/source.ts
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", | |
| }); | |