mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 20:37:44 +00:00
chore: bump fumadocs (#4144)
This commit is contained in:
@@ -4,7 +4,8 @@ import {
|
||||
defineCollections,
|
||||
} from "fumadocs-mdx/config";
|
||||
import { z } from "zod";
|
||||
import { remarkInstall } from "fumadocs-docgen";
|
||||
import { remarkNpm } from "fumadocs-core/mdx-plugins";
|
||||
import { remarkAutoTypeTable, createGenerator } from "fumadocs-typescript";
|
||||
|
||||
export const docs = defineDocs({
|
||||
dir: "./content/docs",
|
||||
@@ -35,17 +36,20 @@ export const blogCollection = defineCollections({
|
||||
}),
|
||||
});
|
||||
|
||||
const generator = createGenerator();
|
||||
|
||||
export default defineConfig({
|
||||
mdxOptions: {
|
||||
remarkPlugins: [
|
||||
[
|
||||
remarkInstall,
|
||||
remarkNpm,
|
||||
{
|
||||
persist: {
|
||||
id: "persist-install",
|
||||
},
|
||||
},
|
||||
],
|
||||
[remarkAutoTypeTable, { generator }],
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user