mirror of
https://github.com/dathere/ckanaction.git
synced 2026-07-05 17:12:19 +00:00
docs(build): update dependencies and use pnpm
This commit is contained in:
parent
aed973683f
commit
1947c2f5eb
141 changed files with 6255 additions and 1775 deletions
|
|
@ -2,13 +2,19 @@ import { docs } from "fumadocs-mdx:collections/server";
|
|||
import { type InferPageType, loader } from "fumadocs-core/source";
|
||||
import { lucideIconsPlugin } from "fumadocs-core/source/lucide-icons";
|
||||
import { openapiPlugin } from "fumadocs-openapi/server";
|
||||
import { openapi } from '@/lib/openapi';
|
||||
|
||||
// See https://fumadocs.dev/docs/headless/source-api for more info
|
||||
export const source = loader({
|
||||
baseUrl: "/docs",
|
||||
source: docs.toFumadocsSource(),
|
||||
plugins: [lucideIconsPlugin(), openapiPlugin()],
|
||||
});
|
||||
docs: docs.toFumadocsSource(),
|
||||
openapi: await openapi.staticSource({
|
||||
baseDir: "openapi"
|
||||
}),
|
||||
},
|
||||
{
|
||||
baseUrl: "/docs",
|
||||
plugins: [lucideIconsPlugin(), openapiPlugin()],
|
||||
});
|
||||
|
||||
export function getPageImage(page: InferPageType<typeof source>) {
|
||||
const segments = [...page.slugs, "image.png"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue