chore: update to Fumadocs 15.7 (#4154)

Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
This commit is contained in:
Fuma Nama
2025-08-22 19:00:45 -07:00
committed by Alex Yang
parent 5af2fb4fa6
commit d26d45741a
32 changed files with 6367 additions and 4565 deletions

View File

@@ -1,12 +1,15 @@
import { changelogCollection, docs, blogCollection } from "@/.source";
import { getPageTree } from "@/components/sidebar-content";
import { loader } from "fumadocs-core/source";
import { createMDXSource } from "fumadocs-mdx";
export const source = loader({
export let source = loader({
baseUrl: "/docs",
source: docs.toFumadocsSource(),
});
source = { ...source, pageTree: getPageTree() };
export const changelogs = loader({
baseUrl: "/changelogs",
source: createMDXSource(changelogCollection),