From 6d747fba2ea5a3113cc2ef77ba2c121d88fa4ce5 Mon Sep 17 00:00:00 2001 From: phev8 Date: Tue, 24 Feb 2026 16:11:41 +0100 Subject: [PATCH 1/2] feat: integrate fumadocs for documentation, add new layout and source configuration, and update README with installation instructions --- .gitignore | 1 + README.md | 225 ++---- app/docs/[[...slug]]/page.tsx | 44 ++ app/docs/layout.tsx | 15 + app/globals.css | 2 +- app/layout.config.tsx | 10 + app/layout.tsx | 8 +- app/page.tsx | 219 +----- components/docs/component-overview.tsx | 19 + .../docs}/interactive-examples.tsx | 64 +- content/docs/components/alert-provider.mdx | 73 ++ content/docs/components/button.mdx | 48 ++ content/docs/components/confirm.mdx | 82 +++ content/docs/components/dialog.mdx | 72 ++ content/docs/components/loading-button.mdx | 56 ++ content/docs/index.mdx | 45 ++ content/docs/meta.json | 9 + lib/source.ts | 7 + next.config.mjs | 6 +- package.json | 2 + pnpm-lock.yaml | 665 +++++++++++++++++- source.config.ts | 7 + tsconfig.json | 7 +- 23 files changed, 1289 insertions(+), 397 deletions(-) create mode 100644 app/docs/[[...slug]]/page.tsx create mode 100644 app/docs/layout.tsx create mode 100644 app/layout.config.tsx create mode 100644 components/docs/component-overview.tsx rename {app => components/docs}/interactive-examples.tsx (71%) create mode 100644 content/docs/components/alert-provider.mdx create mode 100644 content/docs/components/button.mdx create mode 100644 content/docs/components/confirm.mdx create mode 100644 content/docs/components/dialog.mdx create mode 100644 content/docs/components/loading-button.mdx create mode 100644 content/docs/index.mdx create mode 100644 content/docs/meta.json create mode 100644 lib/source.ts create mode 100644 source.config.ts diff --git a/.gitignore b/.gitignore index 7f4fd4f..a8b36d2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ # next.js /.next/ /out/ +/.source/ # production /build diff --git a/README.md b/README.md index a63aa32..7ceaf67 100644 --- a/README.md +++ b/README.md @@ -1,162 +1,91 @@ # c-ui registry -Custom [shadcn/ui](https://ui.shadcn.com) registry for common coneno components. - -This repo builds registry JSON files into `public/r/radix-nova` and deploys them via the static export in `out/` (GitHub Pages). - -## Hosted registry URLs +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` -- Style-aware component entries: `https://coneno.github.io/c-ui/r/