Welcome to the official docs for CodeRabbit, the code review dev tool that helps you ship quality code faster.
CodeRabbit is an AI-powered code reviewer that delivers context-aware feedback on pull requests within minutes, reducing the time and effort needed for manual code reviews. It provides a fresh perspective and catches issues that are often missed, enhancing the overall review quality.
Follow these steps to and start using CodeRabbit:
Sign Up Visit coderabbit.ai and create your account.
Connect Your Repository Link your repository from one of the supported platforms:
Configure Settings Customize your preferences in the CodeRabbit dashboard as per your project's needs.
Initiate Code Reviews Start creating pull requests on your platform, and let CodeRabbit assist with intelligent code reviews.
CodeRabbit offers flexible configuration options. There are two primary methods for configuring CodeRabbit:
When you create an account and add repositories through the CodeRabbit web interface, you can configure settings for your organization and individual repositories.
Note: Settings configured at the repository level will override organization-level settings.
For more advanced and version-controlled configuration, you can use a YAML file in your repository.
.coderabbit.yaml
in the root of your repository.coderabbit.yaml
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: "en-US"
early_access: false
reviews:
profile: "chill"
request_changes_workflow: false
high_level_summary: true
poem: true
review_status: true
collapse_walkthrough: false
auto_review:
enabled: true
drafts: false
chat:
auto_reply: true
language
: Set the language for CodeRabbit's responsesearly_access
: Enable/disable early access featuresreviews
: Configure review behavior and stylechat
: Set chat-related optionsFor a complete list of configuration options, refer to the CodeRabbit Configuration Schema.
CodeRabbit uses the following order of precedence for configuration:
@coderabbitai configuration
command on any PR..coderabbit.yaml
file is present in the feature branch for CodeRabbit to review.Clone this repository:
git clone https://github.com/coderabbit-ai/coderabbit-docs.git
cd coderabbit-docs
Install dependencies:
pnpm install
Start the development server:
pnpm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
coderabbit-docs/
├── blog/
├── docs/
├── src/
│ ├── components/
│ ├── css/
│ └── pages/
├── static/
├── docusaurus.config.ts
├── sidebar.ts
└── package.json
docusaurus start
This command starts a local development server and opens up a browser window.
docusaurus build
This command generates static content into the build
directory.
We welcome contributions to improve our documentation. Here are some guidelines:
For more detailed contributing guidelines, please see our CONTRIBUTING.md file.
For more information on using Docusaurus, please refer to the official Docusaurus documentation.
Built with ❤️ by the CodeRabbit team