Repository for the coneno shadcn registry and its documentation site.
- Public docs:
https://coneno.github.io/c-ui/docs/ - Registry index:
https://coneno.github.io/c-ui/r/radix-nova/registry.json
This README is intentionally contributor-focused. End-user installation and component usage live in the docs site.
registry/radix-nova/*: source component files used to generate registry JSON.registry.json: registry manifest consumed byshadcn build.public/r/radix-nova/*: generated registry JSON artifacts (committed).content/docs/*: Fumadocs content for the documentation pages.app/docs/*: Fumadocs app routes/layout..github/workflows/deploy-registry-pages.yml: GitHub Pages build/deploy workflow.
- Node.js 22 (matches CI)
- pnpm 10.28.2
pnpm install # install dependencies
pnpm dev # run local site at http://localhost:3000/c-ui
pnpm registry:build # generate registry JSON into public/r/radix-nova
pnpm build # GitHub Pages build (basePath=/c-ui) + static export into out/
pnpm start # serve ./out with a static file server- Install dependencies with
pnpm install. - Make your code/docs changes.
- Regenerate registry artifacts with
pnpm registry:buildif registry items changed. - Validate with
pnpm build. - Commit source changes and generated
public/r/radix-nova/*output together.
-
Add the component source file(s) under
registry/radix-nova/. -
Add an item in
registry.json:- required baseline:
name,type,title,description,files,style - optional:
registryDependencies,dependencies
- required baseline:
-
Ensure each
files[]entry has:path: source file in this repotarget: destination path in consumer projectstype: usuallyregistry:component
-
Run:
pnpm registry:build
-
Confirm generated files:
public/r/radix-nova/<name>.jsonpublic/r/radix-nova/registry.jsonincludes the item
-
Add docs page for the new item:
- create
content/docs/components/<name>.mdx - add the page slug to
content/docs/components/meta.json
- create
-
Run
pnpm buildand verify the docs route and static export succeed.
When component APIs or behavior change:
- Update source files in
registry/radix-nova/. - Update metadata in
registry.jsonif title/description/dependencies changed. - Update the corresponding docs page in
content/docs/components/. - Regenerate registry JSON with
pnpm registry:build.
- Docs are built with Fumadocs and rendered from
content/docs. - Sidebar order is controlled by
meta.jsonfiles. - Interactive demos used in docs live in
components/docs/interactive-examples.tsx.
Deploy runs automatically on pushes to main via GitHub Actions:
pnpm install --frozen-lockfilepnpm registry:buildpnpm build- publish
out/to GitHub Pages
- Do not edit
public/r/radix-nova/*manually. - Always rebuild artifacts after changing
registry.jsonor files inregistry/radix-nova/. - Keep docs in sync with component APIs to avoid stale installation/configuration guidance.