Something went wrong. Try again.
The weeb for the next gen discord boat - Wamellow wamellow.com
Something went wrong. Try again.
12345678910111213141516171819202122232425262728import type { InferPageType } from "fumadocs-core/source";import { loader } from "fumadocs-core/source";import { pageSchema } from "fumadocs-core/source/schema";import { defineDocs } from "fumadocs-mdx/macro";import { z } from "zod";
export const docs = defineDocs({ dir: "content/docs", docs: { schema: pageSchema.extend({ permissions: z.object({ bot: z.array(z.string()).optional(), user: z.array(z.string()).optional() }).optional() }) }});
export const legal = defineDocs({ dir: "content/legal"});
export const source = loader({ baseUrl: "/docs", source: docs.toFumadocsSource()});
export type Page = InferPageType<typeof source>;