mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 12:27:43 +00:00
docs: upgrade to tailwind v4, react 19, fuma docs 15 (#1735)
This commit is contained in:
@@ -1,7 +1,25 @@
|
||||
import { defineCollections, defineDocs } from "fumadocs-mdx/config";
|
||||
import { defineConfig } from "fumadocs-mdx/config";
|
||||
import { remarkInstall } from "fumadocs-docgen";
|
||||
import {
|
||||
defineDocs,
|
||||
defineConfig,
|
||||
defineCollections,
|
||||
} from "fumadocs-mdx/config";
|
||||
import { z } from "zod";
|
||||
import { remarkInstall } from "fumadocs-docgen";
|
||||
|
||||
export const docs = defineDocs({
|
||||
dir: "./content/docs",
|
||||
});
|
||||
|
||||
export const changelogCollection = defineCollections({
|
||||
type: "doc",
|
||||
dir: "./content/changelogs",
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
date: z.date(),
|
||||
}),
|
||||
});
|
||||
|
||||
export default defineConfig({
|
||||
mdxOptions: {
|
||||
remarkPlugins: [
|
||||
@@ -16,17 +34,3 @@ export default defineConfig({
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
export const changelogCollection = defineCollections({
|
||||
type: "doc",
|
||||
dir: "./content/changelogs",
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
date: z.date(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const { docs, meta } = defineDocs({
|
||||
dir: "./content/docs",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user