docs: upgrade to tailwind v4, react 19, fuma docs 15 (#1735)

This commit is contained in:
Bereket Engida
2025-03-08 19:33:31 +03:00
committed by GitHub
parent 3ae3c830a0
commit b5f638ca45
93 changed files with 14887 additions and 20735 deletions

View File

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