Files
Benjamin Taylor 3342282bd8 feat(docs): gate trackers behind cookie consent banner
Adds a geo-aware consent banner to the docs site, mirroring the marketing
site approach. Middleware classifies visitors as eu / us-ca / other from
Vercel geo headers; EU/UK/EEA and California default to opt-in (no
trackers until accept), other regions default to opt-out. HubSpot,
RB2B, Reo, Google Analytics, PostHog, and Scarf are all gated behind
Analytics or Marketing categories. Privacy policy link points at
www.copilotkit.ai/privacy-policy. Independent cookie (cpk_docs_consent)
from the marketing site — separate banners by design.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 10:00:08 -05:00
..

fumadocs-test

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

Run development server:

npm run dev
# or
pnpm dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js and Fumadocs, take a look at the following resources:

Vercel Deployment with Git LFS

Docs assets are tracked with Git LFS. To ensure production builds always receive real asset bytes (not pointer files), deploy docs through GitHub Actions using .github/workflows/deploy_docs_vercel.yml.

Required GitHub repository secrets:

  • VERCEL_TOKEN
  • VERCEL_ORG_ID
  • VERCEL_PROJECT_ID_DOCS

PR previews:

  • .github/workflows/deploy_docs_vercel_preview.yml deploys docs previews for non-fork pull requests.
  • The workflow posts/updates a sticky PR comment with a clickable Open Docs Preview link.

Recommended Vercel project setting:

  • Disable automatic Git-based deployments for the docs project and let the GitHub Actions workflow handle production deploys.