mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 04:19:20 +00:00
31 lines
579 B
TypeScript
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",
|
|
});
|