New pages: - external-agents.mdx — step-by-step remote agent registration guide with Python (Flask) and Node.js (Express) working examples - tokens.mdx — create, list, revoke workspace bearer tokens - mcp-server.mdx — 87-tool reference with API route mapping Framework upgrade (fumadocs v15.8 had a build crash "a.map is not a function" in DocsLayout page tree formatter — unfixable without upgrade): - fumadocs-core/ui: 15.8 → 16.7 - fumadocs-mdx: 11.10 → 14.3 - next: 15.5 → 16.2 - react/react-dom: 19.0 → 19.2 Migration: RootProvider import path, source import path, search route stubbed (full-text search TBD after fumadocs v16 search API stabilizes). Build: 19/19 static pages generated successfully. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11 lines
415 B
TypeScript
11 lines
415 B
TypeScript
import { NextResponse } from 'next/server';
|
|
|
|
// Minimal search endpoint — returns empty results. The fumadocs
|
|
// createFromSource/createSearchAPI both crash on v15.8 with "a.map
|
|
// is not a function" during static page collection. This stub keeps
|
|
// the route alive so the site builds; swap back to the fumadocs
|
|
// search API once the upstream fix lands.
|
|
export function GET() {
|
|
return NextResponse.json([]);
|
|
}
|