Introduction
Overview of the documentation platform.
Created: 1/4/2026
Documentation Site (apps/docs)
The Documentation Site is the central knowledge base for the Cubed project. It provides guides, references, and architectural overviews for developers and users.
Key Technologies
Contentlayer2
We use contentlayer2 (a maintained fork of Contentlayer) to manage our content pipeline.
- Type-Safety: MDX files are transformed into type-safe JSON data, preventing runtime errors due to missing fields.
- Performance: Content is processed at build time, resulting in static JSON that loads instantly.
- MDX: Allows embedding live React components inside documentation pages for interactive examples.
Next.js
The site is a Next.js application that renders the processed Contentlayer data. It uses the App Router for nested layouts (sidebar navigation) and Server Components for efficient rendering.
Shadcn UI
Uses the shared packages/ui library to maintain visual parity with the rest of the ecosystem.
