Skip to content

fix(docs): use the @babelize namespace and render install snippets as code blocks - #74

Merged
sapatmohit merged 1 commit into
mainfrom
fix/install-commands
Oct 19, 2026
Merged

sapatmohit merged 1 commit into
mainfrom
fix/install-commands

Conversation

@sapatmohit

Copy link
Copy Markdown
Member

Description

  • Namespace: @elements/<name> → @babelize/<name> everywhere (docs, README, landing FAQ, CLI hint). shadcn's registry directory lists us as @babelize (feat(registry): add community registries shadcn-ui/ui#12347), so npx shadcn@latest add @babelize/<name> works with no setup; the registry add step is gone and components.json pinning is kept as an optional fallback.
  • Stray "bash": 44 install snippets were one-line fences (```bash npx … ```) that rendered the language as text. They are now regular multi-line fences and render as code blocks with a copy button.

Closes #54

Type of change

  • Bug fix
  • Documentation / website

Checklist

  • bun run lint passes
  • bun run typecheck passes
  • bun run test passes
  • CI checks pass

@sapatmohit sapatmohit added bug Something isn't working documentation Improvements or additions to documentation website Landing page, docs site, or content labels Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 20 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d4616682-a5ce-484c-b605-2558741f123b
📥 Commits

Reviewing files that changed from the base of the PR and between 96941d8 and 42c4221.

📒 Files selected for processing: 11
  • README.md
  • content/docs/components/inputs/phone-input.mdx
  • content/docs/components/language-switchers/language-switcher-pill.mdx
  • content/docs/components/language-switchers/language-switcher.mdx
  • content/docs/components/navigation/navbar.mdx
  • content/docs/components/translation/translation-widget.mdx
  • content/docs/getting-started/index.mdx
  • content/docs/getting-started/install.mdx
  • content/docs/getting-started/shadcn-cli.mdx
  • src/cli/index.ts
  • src/components/landing/faq.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sapatmohit
sapatmohit merged commit bea06e3 into main Oct 19, 2026
2 checks passed
@sapatmohit
sapatmohit deleted the fix/install-commands branch October 19, 2026 19:20
@sapatmohit sapatmohit mentioned this pull request Oct 19, 2026
6 of 7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation website Landing page, docs site, or content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: install commands should use @babelize/ and drop the stray "bash" text

1 participant