chore: bump fumadocs (#4144)

This commit is contained in:
Alex Yang
2025-08-21 20:30:06 -07:00
parent cb0baf61d8
commit e25d7320f9
10 changed files with 1036 additions and 213 deletions

View File

@@ -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 }],
],
},
});