mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 02:23:53 +02:00
- Deleted the empty middleware file as it was temporarily disabled for client-side i18n implementation. - Updated `next`, `next-intl`, and `fumadocs` packages to their latest versions. - Cleaned up the `next.config.ts` by removing the eslint configuration. - Enhanced `tsconfig.json` with additional paths for `fumadocs-mdx`. - Adjusted imports in `layout.tsx` and `request.ts` for better structure and functionality.
7 lines
177 B
TypeScript
7 lines
177 B
TypeScript
import { docs } from "@/.source/server";
|
|
import { loader } from "fumadocs-core/source";
|
|
|
|
export const source = loader({
|
|
baseUrl: "/docs",
|
|
source: docs.toFumadocsSource(),
|
|
});
|