Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
11a4eec
refactor(repo): scaffold Turborepo monorepo structure
jal-co Mar 29, 2026
c84a8e0
feat(docs): add Fumadocs MDX infrastructure
jal-co Mar 29, 2026
c726ed5
feat(registry): add registry index generation for ComponentPreview
jal-co Mar 29, 2026
7984ed7
feat(docs): add Fumadocs catch-all route for MDX pages
jal-co Mar 29, 2026
79365f6
fix(docs): update sitemap to include Fumadocs MDX pages
jal-co Mar 29, 2026
805da25
fix(docs): fix CodeBlockCommand hydration mismatch on React 19.2
jal-co Mar 29, 2026
243b707
feat(docs): first MDX component page — status-indicator
jal-co Mar 29, 2026
cd3eae1
feat(docs): register all components as MDX components, full-fidelity …
jal-co Mar 29, 2026
8f13fdc
feat(docs): convert commit-graph and color-palette to proper MDX
jal-co Mar 29, 2026
26b5163
feat(docs): convert testimonial, logo-cloud, commit-graph, color-pale…
jal-co Mar 29, 2026
9654d31
feat(docs): convert all 28 component pages to MDX
jal-co Mar 29, 2026
ed92ec6
feat(docs): switch sidebar to Fumadocs page tree
jal-co Mar 29, 2026
7b07297
feat(docs): proper MDX pages for all batch 1 components
jal-co Mar 29, 2026
7bd4942
fix(docs): restore tabbed Preview/Code view in MDX ComponentPreview
jal-co Mar 29, 2026
703bc55
feat(docs): restore AI copy + prompt buttons on component pages
jal-co Mar 29, 2026
1d79fb1
fix(docs): correct component names in usage examples, tighten spacing
jal-co Mar 29, 2026
56bab12
fix(docs): add static pages to sidebar, fix code blocks, correct comp…
jal-co Mar 29, 2026
65bcc66
feat(docs): enrich all 28 MDX pages with API Reference and Notes
jal-co Mar 29, 2026
004baaa
fix(docs): fix sidebar layout — remove Introduction, add category sep…
jal-co Mar 29, 2026
f0f8ba8
feat(docs): restore variant sections for kbd + stepper, update AGENTS.md
jal-co Mar 30, 2026
4dbc898
feat(docs): restore variant sections for file-tree, json-viewer, log-…
jal-co Mar 30, 2026
e0aa7ee
fix(docs): fix MDX syntax in file-tree, restore build
jal-co Mar 30, 2026
82c16f5
feat(docs): restore variant sections for activity-graph, fix build
jal-co Mar 30, 2026
807ca99
feat(docs): restore variant sections for github-buttons, npm-badge, p…
jal-co Mar 30, 2026
757cdb1
feat(docs): restore variant sections for cron-schedule, diff-viewer, …
jal-co Mar 30, 2026
d1a82d6
feat(docs): restore variant sections for code-block, code-block-command
jal-co Mar 30, 2026
1b0bb2a
feat(docs): restore variant sections for code-line, producthunt, tip-…
jal-co Mar 30, 2026
8ab6eb3
feat(docs): restore variant sections for api-ref-table, finish parity…
jal-co Mar 30, 2026
15c0a6e
refactor(docs): revert complex TOC experiment, keep clean build
jal-co Mar 30, 2026
f776bf0
feat(docs): add inline table of contents to docs pages
jal-co Mar 30, 2026
0dbf8b2
feat(docs): widen page layout and move TOC to right sidebar
jal-co Mar 30, 2026
6c72e7d
feat(docs): increase page max-width and content width
jal-co Mar 30, 2026
d9de642
feat(docs): maximize content width and refine layout
jal-co Mar 30, 2026
72b8449
feat(docs): make content layout edge-to-edge
jal-co Mar 30, 2026
a8c2532
feat(docs): expand global layout width and remove main content constr…
jal-co Mar 30, 2026
73be597
fix(docs): correct nav link for releases
jal-co Mar 30, 2026
f91f94e
fix(docs): resolve duplicate catch-all routes and cleanup
jal-co Mar 30, 2026
8ae7010
fix(docs): resolve route conflicts and clean up duplicate folders
jal-co Mar 30, 2026
485f0a1
fix(docs): restore optional catch-all for /docs home
jal-co Mar 30, 2026
c5080e9
fix(docs): fix React 19 script console error
jal-co Mar 30, 2026
9682e2c
feat(docs): migrate status-indicator to pure MDX
jal-co Mar 30, 2026
f870697
chore(vercel): add configuration for monorepo structure
jal-co Mar 30, 2026
4ad1708
chore(vercel): remove invalid vercel.json
jal-co Mar 30, 2026
ddbfa61
fix(docs): resolve remaining lint errors
jal-co Mar 30, 2026
1f8b56a
chore(repo): expose previews:generate at root
jal-co Mar 30, 2026
6dca9ee
chore(repo): register previews:generate task in turbo.json
jal-co Mar 30, 2026
cbaf2ef
fix(ci): use pnpm check-types for type checking
jal-co Mar 30, 2026
026ff66
fix(ci): align root scripts with docs workspace tasks
jal-co Mar 30, 2026
1670730
fix(ci): generate registry index before type checking
jal-co Mar 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: pnpm previews:generate

- name: Type check
run: pnpm exec tsc --noEmit
run: pnpm check-types

- name: Registry build
run: pnpm registry:build
Expand Down
41 changes: 18 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage
node_modules

# next.js
/.next/
/out/
.next/
out/

# production
/build
build
dist

# turbo
.turbo

# misc
.DS_Store
Expand All @@ -30,11 +22,11 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
# env files
.env*

# registry build output (generated by `shadcn build`)
/public/r/
# registry build output
**/public/r/

# vercel
.vercel
Expand All @@ -45,10 +37,13 @@ next-env.d.ts

# local agent/tooling artifacts
.agents/

skills-lock.json
bun.lock
.env.local

# Generated preview imports
components/docs/__generated__/
# Generated files
**/components/docs/__generated__/
**/registry/__index__.tsx
**/.source/

# lockfiles (regenerated)
pnpm-lock.yaml
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm exec lint-staged && pnpm exec tsc --noEmit
cd apps/docs && pnpm exec lint-staged
6 changes: 6 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ A dev-only page at `/dev/screenshots` renders every component preview at full si
### Writing component docs

- `.pi/references/docs-component-format-spec.md` MUST be followed as the canonical docs format guide for public component and block pages.
- Public docs pages now live in the Fumadocs MDX source under `apps/docs/content/docs/**`. Agents MUST treat MDX as the default docs surface and MUST NOT reintroduce per-component TSX route pages unless explicitly requested.
- For registry-backed component pages, agents MUST preserve the current docs shell behavior: tabbed Preview/Code rendering, AI copy actions, copy prompt actions, dependency badges, and install blocks.
- When migrating or revising component docs, agents MUST restore showcase depth — not just structure. That means meaningful `Variants`, `Sizes`, `Examples`, `Configurations`, or other labeled sections whenever the old page or shipped component warrants them.
- If a pre-migration docs page had multiple demos or variant sections, the migrated MDX page MUST keep equivalent coverage before the work is considered done.
- Examples and demos for MDX pages SHOULD live in reusable files under `apps/docs/registry/<name>/examples/` when that materially improves readability, reuse, or MDX ergonomics.
- Component doc descriptions MUST start with a concise one-sentence summary of what the component does.
- Descriptions MUST NOT start with "A", "An", or "A React component for...".
- Descriptions MUST NOT contain implementation details, subjective adjectives, or unnecessary jargon.
Expand All @@ -259,6 +264,7 @@ A dev-only page at `/dev/screenshots` renders every component preview at full si
- When changing a public component's API, variants, states, or installation surface, all affected docs MUST be updated in the same change.
- For public component changes, agents MUST check related docs pages, preview/demo files, homepage or showcase examples, usage snippets, and registry metadata.
- Public variants MUST NOT be added or removed without verifying that labels, examples, and preview coverage still match the shipped component.
- Sidebar/navigation changes in the docs app MUST use the Fumadocs page tree and `meta.json` conventions first. Agents MUST prefer fixing Fumadocs metadata/configuration over replacing the navigation system with custom hardcoded data.

## Releases

Expand Down
Loading
Loading