You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This PR introduces comprehensive styling improvements to the "Add CodeRabbit to Your Repository" section, enhancing readability and visual appeal with new reusable components and modernized documentation layout.
This update overhauls the documentation system, replacing nearly all Markdown (.md) files with MDX (.mdx) files, and introduces a suite of custom React UI components for consistent, styled documentation elements. Numerous new components—such asNote,Tip,Warning,InfoBox,ListItems,ChatBubble,DarkCodeBlock,PlatformCard,PlatformGrid, andTable—were created with associated CSS modules. The documentation content was migrated and refactored to use these components, and all platform integration guides and quickstart materials were rewritten in MDX. The Prism theme was unified to "nightOwl" for both light and dark modes.
Changes
Files/Paths
Change Summary
docs/faq.md,docs/overview/why-coderabbit.md
Updated links to use.mdx extensions for referenced documents.
New PlatformCard and PlatformGrid components and CSS for platform display grids.
src/components/Table/*
New Table component and CSS for structured, styled tables with support status icons.
src/components/Tip/*
New Tip component and CSS for tip/information callouts.
src/components/Warning/*
New Warning component and CSS for warning callouts.
src/css/custom.css
Added and consolidated CSS variables, improved styling for markdown, code, and responsive layouts.
docusaurus.config.ts
Changed Prism syntax highlighting theme to "nightOwl" for both light and dark modes.
Sequence Diagram(s)
sequenceDiagram participant User participant Docs (MDX) participant CustomComponents participant CSSModules User->>Docs (MDX): Navigates to documentation page Docs (MDX)->>CustomComponents: Renders content using Note, Tip, ListItems, etc. CustomComponents->>CSSModules: Applies custom styles CustomComponents-->>User: Displays styled, interactive documentation
Loading
Possibly related PRs
Feat/adding new organizations #200: Originally added the Markdown "adding organizations" document, directly related to this PR's replacement of that file with an MDX version.
Poem
🐰✨ In the garden of docs, new flowers grow, With MDX seeds and a custom UI show. Notes, tips, and warnings now brightly appear, Code blocks and tables crystal clear. The rabbit hops with CSS delight— All docs now shine in "nightOwl" light! 🌙📚
Pre-Merge Checks (1 passed, 2 warnings)
❌ Failed Checks (2 warnings)
Check Name
Status
Explanation
Resolution
Title Check
⚠️ Warning
The title is vague and does not clearly reflect the comprehensive documentation styling overhaul, addition of reusable components, and .mdx conversions introduced in this PR.
Please revise the title to clearly and specifically summarize the scope of changes, for example: "docs: overhaul 'Add CodeRabbit to Your Repository' section with new styling and reusable components".
Docstring Coverage
⚠️ Warning
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%.
You can run@coderabbitai generate docstrings to improve docstring coverage.
✅ Passed Checks (1 passed)
Check Name
Status
Explanation
Description Check
✅ Passed
The description provides detailed context on styling improvements, new components, documentation restructures, and the rationale behind the changes.
Impact Analysis
Fix broken documentation links to MDX pages
ℹ️ Low 🔄 Impacts behavior
Updated hyperlinks in the FAQ and Why CodeRabbit pages to point to the newly migrated MDX-based guides (replacing .md references with .mdx), restoring correct navigation to installation and sign-in instructions.
Verify that all sidebar and in-page links now use .mdx extensions and update any lingering .md references in the site configuration or navigation metadata.
Browse the FAQ “How to install CodeRabbit?” tabs and the “Three Steps to Better Code Reviews” section, clicking each platform link to ensure they resolve without 404 errors to the correct MDX pages.
🔍 Related Files
docs/faq.md
docs/overview/why-coderabbit.md
Update documentation syntax highlighting theme
ℹ️ Low 🔄 Impacts behavior
Switched the Prism code-block theme in docusaurus.config.ts from GitHub/Dracula to NightOwl for both light and dark modes, changing the look and feel of all code snippets across the documentation site.
Confirm the NightOwl theme provides adequate contrast and readability for the full range of supported languages; consider tweaking theme overrides if any elements appear washed out or illegible.
Inspect representative code blocks on multiple pages under both light and dark themes, checking token colors, background contrast, and overall legibility.
🔍 Related Files
docusaurus.config.ts
Consolidate and enhance documentation site CSS styling
ℹ️ Low 🔄 Impacts behavior
Refactored custom.css to centralize mobile navigation centering, consolidate media queries, introduce new CSS variables for theming (.language-text, markdown padding), and remove redundant styles, improving responsive layout and consistent styling across the docs site.
Review the consolidated mobile and desktop CSS rules to ensure no regressions in navbar alignment or content spacing; validate that new variables do not conflict with existing themes.
Test the documentation site on desktop, tablet, and mobile breakpoints to confirm centered nav items, proper logo sizing, and consistent padding/margins for markdown content and language-text blocks.
🔍 Related Files
src/css/custom.css
Introduce new UI components for MDX documentation
ℹ️ Low 🔄 Impacts behavior
Added a suite of React components (BlockQuote, ChatBubble, DarkCodeBlock, InfoBox, ListItems, Note, OrderedSteps, PlatformCard, PlatformGrid, Table, Tip, Warning) along with associated CSS modules to standardize and enhance the presentation of MDX-based docs, including interactive copy-to-clipboard features and structured layouts.
Ensure each component’s API is intuitive and documented; pay special attention to copy functionality in ChatBubble and DarkCodeBlock for accessibility and error handling; audit CSS modules for theme compatibility.
Render sample documentation pages incorporating each new component to verify visual styling, interaction (e.g., click-to-copy), and responsive behavior across breakpoints; test keyboard and screen-reader accessibility for interactive elements.
🔍 Related Files
src/components/BlockQuote/BlockQuote.tsx
src/components/ChatBubble/ChatBubble.tsx
src/components/DarkCodeBlock/DarkCodeBlock.tsx
src/components/InfoBox/InfoBox.tsx
src/components/ListItems/ListItems.tsx
src/components/Note/Note.tsx
src/components/OrderedSteps.tsx
src/components/PlatformCard/PlatformCard.tsx
src/components/PlatformGrid/PlatformGrid.tsx
src/components/Table/Table.tsx
src/components/Tip/Tip.tsx
src/components/Warning/Warning.tsx
✨ Finishing Touches
📝 Generate Docstrings
🧪 Generate unit tests
Create PR with unit tests
Post copyable unit tests in a comment
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.
Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.
Explain this complex logic.
Open a follow-up GitHub issue for this discussion.
Files and specific lines of code (under the "Files changed" tab): Tag@coderabbitai in a new review comment at the desired location with your query. Examples:
@coderabbitai explain this code block.
@coderabbitai modularize this function.
PR comments: Tag@coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
@coderabbitai read src/utils.ts and explain its main purpose.
@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
@coderabbitai help me debug CodeRabbit configuration file.
Support
Need help? Create a ticket on oursupport page for assistance with any issues or questions.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (Invoked using PR comments)
@coderabbitai pause to pause the reviews on a PR.
@coderabbitai resume to resume the paused reviews.
@coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
@coderabbitai full review to do a full review from scratch and review all the files again.
@coderabbitai summary to regenerate the summary of the PR.
If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
Visit ourDocumentation for detailed information on how to use CodeRabbit.
Join ourDiscord Community to get help, request features, and share feedback.
Follow us onX/Twitter for updates and announcements.
PrasadBhat4 changed the titleAdd coderabbit docs improvements (#438)Add coderabbit to your repository docs section improvements (#438)Jul 18, 2025
PrasadBhat4 changed the titleAdd coderabbit to your repository docs section improvements (#438)docs: overhaul 'Add CodeRabbit to Your Repository' section with new styling and reusable components (#438)Jul 18, 2025
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading.Please reload this page.
🎨 Enhanced UI/UX: Add CodeRabbit Repository Section Styling
📋 Overview
This PR introduces comprehensive styling improvements to the "Add CodeRabbit to Your Repository" section, enhancing readability and visual appeal with new reusable components and modernized
documentation layout.
🔗 Related Issues
✨ Key Changes
🎨 Enhanced Documentation Styling
📖 Improved Documentation Design
🧩 New Reusable Components
📄 Documentation Structure Improvements
🎨 Visual Improvements
📱 Better User Experience
Components Screenshot