Documentation site for Abstract Machines Hardware, built with Fumadocs and Next.js.
Visiting / renders the intro page; all doc pages are served at their slug directly (e.g. /s0-gateway).
pnpm install
pnpm devOpen http://localhost:3000 with your browser to see the result.
This site uses:
- Next.js static export —
next buildoutputs static files toout/ - GitHub Pages — serves the
out/directory via GitHub Actions
Triggers on push to main. The workflow:
- Builds the static site with
pnpm run build - Uploads
out/as a Pages artifact - Deploys to GitHub Pages
| Path | Description |
|---|---|
src/app/[[...slug]]/page.tsx |
Docs page renderer (all routes) |
src/app/api/search/route.ts |
Static search index route handler |
src/app/og/[...slug]/route.tsx |
OG image generation for docs pages |
src/app/llms-full.txt/route.ts |
LLM-readable full docs text |
content/docs |
MDX source files |
src/lib/source.ts |
Fumadocs source adapter |
src/lib/layout.shared.tsx |
Shared layout options (nav, logo) |