Docs: fix folder

This commit is contained in:
Fuma Nama
2026-03-09 22:10:33 +08:00
parent fc256c3fcf
commit 3cc7d398f3
6 changed files with 2 additions and 5 deletions
+2 -1
View File
@@ -66,7 +66,8 @@ It will ask you the built-in template to use:
A new fumadocs app should be initialized, with following features configured by default:
- [LLM](/docs/integrations/llms) integration.
- [LLM integration](/docs/integrations/llms).
- [Dynamic metadata image](/docs/integrations/og).
<Callout title='From Existing Codebase?'>

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

-4
View File
@@ -1,7 +1,6 @@
import type { APIRoute } from 'astro';
import { createFromSource } from 'fumadocs-core/search/server';
import { getFullExport, source } from '@/lib/source';
import { getBreadcrumbItems } from 'fumadocs-core/breadcrumb';
const server = createFromSource(source, {
async buildIndex(page) {
@@ -13,9 +12,6 @@ const server = createFromSource(source, {
description: page.data.description,
structuredData,
url: page.url,
breadcrumbs: getBreadcrumbItems(page.url, source.getPageTree()).map((item) =>
String(item.name),
),
};
},
});