Files
better-auth/docs/source.config.ts
Bereket Engida 9f2e45b8c7 chore: cleanup
2025-01-06 14:30:39 +03:00

31 lines
579 B
TypeScript

import { defineCollections, defineDocs } from "fumadocs-mdx/config";
import { defineConfig } from "fumadocs-mdx/config";
import { remarkInstall } from "fumadocs-docgen";
import { z } from "zod";
export default defineConfig({
mdxOptions: {
remarkPlugins: [
[
remarkInstall,
{
persist: {
id: "persist-install",
},
},
],
],
},
});
export const changelog = defineCollections({
type: "doc",
dir: "./content/changelog",
schema: z.object({
title: z.string(),
}),
});
export const { docs, meta } = defineDocs({
dir: "./content/docs",
});