Skip to content

feat(docs): organize component docs into category folders#1183

Merged
te6-in merged 1 commit intodevfrom
docs/organize-component-categories
Jan 26, 2026
Merged

feat(docs): organize component docs into category folders#1183
te6-in merged 1 commit intodevfrom
docs/organize-component-categories

Conversation

@te6-in
Copy link
Member

@te6-in te6-in commented Jan 26, 2026

Summary

  • 컴포넌트 문서를 카테고리별로 폴더 그룹화 (Buttons, Controls, Display, Feedback, Layout, Navigation)
  • Route group 문법 사용으로 URL 경로 유지
  • ComponentGrid에서 카테고리별 그룹 표시 지원

Test plan

  • 사이드바에서 카테고리 폴더가 올바르게 표시되는지 확인
  • 기존 컴포넌트 URL이 변경되지 않았는지 확인
  • ComponentGrid 페이지에서 카테고리별 그룹이 표시되는지 확인

🤖 Generated with Claude Code

Summary by CodeRabbit

릴리스 노트

  • 새로운 기능
    • 컴포넌트가 카테고리(버튼, 컨트롤, 표시, 피드백, 레이아웃, 네비게이션)별로 조직화되었습니다.
    • 컴포넌트 그리드가 카테고리별 섹션 레이아웃으로 개선되어 더 나은 탐색 환경을 제공합니다.

✏️ Tip: You can customize this high-level summary in your review settings.

- Group components by category using route groups (buttons, controls, display, feedback, layout, navigation)
- URL paths remain unchanged due to route group syntax
- Update ComponentGrid to display components grouped by category
- Add defaultOpen: true to all category meta.json files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@changeset-bot
Copy link

changeset-bot bot commented Jan 26, 2026

⚠️ No Changeset found

Latest commit: 11d68e0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 26, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

개요

문서 컴포넌트 그리드를 카테고리별 구조로 재구성하고, 각 컴포넌트 카테고리(버튼, 컨트롤, 디스플레이, 피드백, 레이아웃, 네비게이션)에 대한 메타데이터 파일을 추가했습니다.

변경 사항

항목 그룹 / 파일 요약
컴포넌트 그리드 로직
docs/components/component-grid.tsx
getCategoryFromPath 헬퍼 함수를 도입하여 경로에서 카테고리를 파생시킵니다. 컴포넌트 페이지를 카테고리별로 그룹화하고, 각 카테고리 내에서 제목으로 정렬하며, 카테고리를 알파벳순으로 정렬합니다. 평면 목록 렌더링을 섹션 기반 다중 카테고리 레이아웃으로 변경합니다.
컴포넌트 카테고리 메타데이터
docs/content/docs/components/(buttons)/meta.json, docs/content/docs/components/(controls)/meta.json, docs/content/docs/components/(display)/meta.json, docs/content/docs/components/(feedback)/meta.json, docs/content/docs/components/(layout)/meta.json, docs/content/docs/components/(navigation)/meta.json
각 카테고리 폴더에 메타데이터 파일을 추가합니다. 각 파일은 카테고리 제목과 defaultOpen: true 속성을 정의합니다.
컴포넌트 메타데이터 인덱스
docs/content/docs/components/meta.json
pages 필드를 ["...", "(deprecated)"] 플레이스홀더에서 구체적인 카테고리 목록 ["(buttons)", "(controls)", "(display)", "(feedback)", "(layout)", "(navigation)", "(deprecated)"]으로 업데이트합니다.

예상 코드 리뷰 소요 시간

🎯 2 (Simple) | ⏱️ ~10 minutes

카테고리로 정렬된 컴포넌트들,
깔끔하게 담긴 서랍처럼,
찾기 쉬워졌네요!
🐰 메타데이터가 반짝이고,
문서는 더욱 정갈해졌어요! ✨

✨ Finishing touches
  • 📝 Generate docstrings

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 and usage tips.

@te6-in te6-in merged commit 63fe0c5 into dev Jan 26, 2026
5 of 6 checks passed
@te6-in te6-in deleted the docs/organize-component-categories branch January 26, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant