chore(docs): remove openapiPlugin() for now from lib/source.ts

This commit is contained in:
rzmk 2025-10-24 15:53:45 -04:00
parent bd1897b7ba
commit 4b7ca43709
5 changed files with 15 additions and 17 deletions

View file

@ -1,13 +1,12 @@
import { type InferPageType, loader } from "fumadocs-core/source";
import { lucideIconsPlugin } from "fumadocs-core/source/lucide-icons";
import { openapiPlugin } from "fumadocs-openapi/server";
import { docs } from "@/.source";
// See https://fumadocs.dev/docs/headless/source-api for more info
export const source = loader({
baseUrl: "/docs",
source: docs.toFumadocsSource(),
plugins: [lucideIconsPlugin(), openapiPlugin()],
plugins: [lucideIconsPlugin()],
});
export function getPageImage(page: InferPageType<typeof source>) {