mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
18 lines
435 B
TypeScript
18 lines
435 B
TypeScript
import { docs, meta } from "@/.source";
|
|
import { loader } from "fumadocs-core/source";
|
|
import { createMDXSource } from "fumadocs-mdx";
|
|
import { createOpenAPI } from "fumadocs-openapi/server";
|
|
import { attachFile } from "fumadocs-openapi/server";
|
|
|
|
export const source = loader({
|
|
baseUrl: "/docs",
|
|
source: createMDXSource(docs, meta),
|
|
// pageTree: {
|
|
// attachFile,
|
|
// },
|
|
});
|
|
|
|
export const openapi = createOpenAPI({
|
|
// options
|
|
});
|