# Documentation Integration

> How the help center works in this repo.

*Canonical: https://makerkit.dev/docs/nextjs-prisma/marketing-pages/documentation*

---

The documentation system in this repo is served from `/help`, not `/docs`.

## Route and Content Location

- route: `apps/web/app/[locale]/help`
- content: `apps/web/content/documentation`

The app also generates a Pagefind index for documentation search during `apps/web` postbuild.

Relevant files:

- `apps/web/app/[locale]/help/page.tsx`
- `apps/web/app/[locale]/help/[...slug]/page.tsx`
- `apps/web/app/[locale]/help/_lib/server/docs.loader.ts`
- `packages/cms/pagefind/package.json`

## Structure

Documentation content is organized by folders under `apps/web/content/documentation`. The shipped content currently includes:

- `authentication`
- `billing`
- `database`
- `features`
- `getting-started`

## Search

Search is powered by Pagefind, not by a `/docs` route or a Keystatic-only admin flow.

## Important Repo Detail

This repo does not currently ship a `/keystatic` admin route in `apps/web/app`, so documentation editing is file-driven unless you add that surface yourself.
