Files
infinite-canvas/docs
HouYunFei 798d06b662 Merge branch 'fork/1797127235/fix/canvas-mode-model-switch' into dev
# Conflicts:
#	CHANGELOG.md
#	docs/content/docs/progress/pending-test.mdx
#	web/src/components/canvas/canvas-config-node-panel.tsx
#	web/src/components/canvas/canvas-node-prompt-panel.tsx
2026-07-08 16:23:12 +08:00
..

docs

This is a Next.js application generated with Create Fumadocs.

It runs as a server-backed Next.js docs site and is configured for standalone output. Route handlers such as search and LLM text remain available at runtime.

Run development server:

bun run dev

Build and run local production server:

bun run build
bun run start

Run the published image with Docker Compose:

docker compose up -d

Or build locally with Docker Compose:

docker compose -f docker-compose.local.yml up -d --build

Explore

In the project, you can see:

  • lib/source.ts: Code for content source adapter, loader() provides the interface to access your content.
  • lib/layout.shared.tsx: Shared options for layouts, optional but preferred to keep.
Route Description
app/(home) The route group for your landing page and other pages.
app/docs The documentation layout and pages.
app/api/search/route.ts The Route Handler for search.

Fumadocs MDX

A source.config.ts config file has been included, you can customise different options like frontmatter schema.

Read the Introduction for further details.