Skip to content

feat(docs): redesign the sidebar and frame content in an inset card - #84

Merged
sapatmohit merged 4 commits into
mainfrom
feat/docs-sidebar-redesign
Oct 21, 2026
Merged

sapatmohit merged 4 commits into
mainfrom
feat/docs-sidebar-redesign

Conversation

@sapatmohit

@sapatmohit sapatmohit commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Description

Reworks the docs shell to follow the Fumadocs site layout.

  • Sidebar structure. Section labels: Get Started, Components, Customization, Contributing. Top-level pages keep their icons. Components gets an Overview link plus collapsible categories (Language Switchers, Navigation, Inputs, Widgets); the category holding the current page opens automatically.
  • Contributor pages (Contribution & Open Source, Rulebook) move out of Get Started into their own section. URLs are unchanged.
  • Active row. Neutral light tint with brand-colored label and icon, replacing the green fill.
  • Inset card. On desktop the sidebar sits on the page background and the content plus TOC sit in a bordered, rounded card. CSS only; mobile keeps the stock layout.
  • Footer. One row: Discord, GitHub, llms.txt, version. The llms-full.txt banner at the top is removed.
  • Version. The footer reads the latest version from the npm registry (revalidated hourly), falling back to package.json. The release workflow sets the version from the git tag at publish time, so package.json in the repo had drifted to 1.1.2. Bumped to 2.0.1 to match the latest release.

Type of change

  • Enhancement
  • Documentation / website

Screenshots / Recording

Before After
Navbar page before Navbar page after
Components page before Components page after

Checklist

  • Dark mode / responsive styles considered
  • npm run lint passes
  • npm run typecheck passes
  • npm run test passes
  • npm run build passes
  • CI checks pass

Notes

- Sidebar: section labels (Get Started, Components, Customization,
  Contributing), icons on top-level pages, collapsible component
  categories, and a neutral active row with brand-colored text.
- Contributor pages move out of Get Started into their own section;
  URLs are unchanged.
- Content and TOC sit in a bordered inset card on desktop.
- Footer collapses to one row: Discord, GitHub, llms.txt, version.
- The footer version comes from the npm registry (hourly), since the
  release workflow sets the version from the tag, not package.json.
- Bump package.json to 2.0.1 to match the latest release.
@coderabbitai

coderabbitai Bot commented Oct 21, 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 49 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: d96f8625-451c-4700-80fa-d17e20eccff1
📥 Commits

Reviewing files that changed from the base of the PR and between c919f6d and be5a151.

📒 Files selected for processing: 10
  • content/docs/components/inputs/meta.json
  • content/docs/components/language-switchers/meta.json
  • content/docs/components/meta.json
  • content/docs/components/navigation/meta.json
  • content/docs/components/translation/meta.json
  • content/docs/getting-started/meta.json
  • content/docs/meta.json
  • package.json
  • src/app/docs/layout.tsx
  • src/app/globals.css
  • 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 eec59db into main Oct 21, 2026
2 checks passed
@sapatmohit
sapatmohit deleted the feat/docs-sidebar-redesign branch October 21, 2026 06:45
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