mirror of
https://github.com/Dokploy/website.git
synced 2026-07-09 07:55:26 +02:00
feat: migration to fumadocs 14
This commit is contained in:
10
apps/docs/app/source.config.ts
Normal file
10
apps/docs/app/source.config.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { map } from "@/.map";
|
||||
import { languages } from "@/i18n";
|
||||
import { loader } from "fumadocs-core/source";
|
||||
import { createMDXSource } from "fumadocs-mdx";
|
||||
|
||||
export const { getPage, getPages, pageTree, getLanguages } = loader({
|
||||
baseUrl: "/",
|
||||
languages,
|
||||
source: createMDXSource(map),
|
||||
});
|
||||
Reference in New Issue
Block a user