TenantX product documentation
This folder documents TenantX — the multi-tenant SaaS application you ship and extend (Laravel API, React SPA, billing, org model, help center, etc.).
It does not document TenantX Platform, the separate Next.js app in the parent repository that handles marketing, Paddle checkout, licensing, GitHub access, and customer/admin portals.
| Concern | Where to look |
|---|---|
| TenantX (the product customers build on) | Files in docs/ — deployment, testing, Stripe, org APIs, permissions, OpenAPI, etc. |
TenantX Platform (this site: tenantx-platform) | Root CLAUDE.md, .env.example, routes under app/, and this docs/ tree is rendered at /docs on the site. |
Paths in these guides
Commands and paths such as backend/, frontend/, php artisan, and composer.json refer to the TenantX source repository you clone after purchase (private GitHub access), not to the Platform monorepo layout. Keep this documentation alongside the Platform so licensees and your team have one place to open specs and runbooks while selling access via the Platform.
On the TenantX Platform site
The marketing app serves these files under /docs (and /docs/openapi for openapi.yaml). The sidebar is configured in config/docs.ts.
Editing
When TenantX (the app) changes, update the relevant files here. When only the marketing or licensing platform changes, update CLAUDE.md or app routes — not these product guides.