Skip to content

Phase 6: Fumadocs docs site - #1

Merged
MahmoudBakr23 merged 2 commits into
devfrom
phase/6-docs-frontend
Apr 11, 2026
Merged

Phase 6: Fumadocs docs site#1
MahmoudBakr23 merged 2 commits into
devfrom
phase/6-docs-frontend

Conversation

@MahmoudBakr23

Copy link
Copy Markdown
Owner

Summary

  • Full Fumadocs v16 setup (source.config.ts, next.config.ts, app/source.ts)
  • 7 MDX content pages: Quickstart, Authentication, Charges, Refunds, Webhooks, Entity IDs, Errors
  • Sidebar navigation with auto-generated page tree from meta.json
  • Static site generation via generateStaticParams
  • CI: npx fumadocs-mdx regenerates .source/ before type check and build

Test plan

  • npm run build passes (verified locally — 11 static pages)
  • /docs loads with sidebar nav and all 7 pages
  • Type check passes

🤖 Generated with Claude Code

- Add NEXT_PUBLIC_API_URL to vercel.json (paygate-api.fly.dev)
- Add .github/workflows/ci.yml: type check + build on PR and dev/main push
…, webhooks, entity-ids, errors)

- Set up fumadocs-ui v16 with Tailwind CSS v4, fumadocs-mdx v14 source pipeline
- 7 MDX content pages with full API documentation
- DocsLayout with sidebar navigation, auto-generated page tree
- Static site generation via generateStaticParams
- CI: regenerate .source before type check and build
- Ignore fumadocs-generated .source directory
@MahmoudBakr23
MahmoudBakr23 merged commit c8f80a6 into dev Apr 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant