- Notifications
You must be signed in to change notification settings - Fork0
Official documentation of CodeRabbit: AI Code Reviews
License
Scimplify-CoCreate/coderabbit-docs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Welcome to the official docs forCodeRabbit, 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.
- Automated code reviews
- Intelligent suggestions for code improvements
- Pull request summary
- Interactive chat
- Sequence diagrams
- Integration with popular version control platforms
- Support for multiple programming languages
Follow these steps to and start using CodeRabbit:
Sign UpVisitcoderabbit.ai and create your account.
Connect Your RepositoryLink your repository from one of the supported platforms:
- GitHub
- GitLab
- Azure DevOps
Configure SettingsCustomize your preferences in the CodeRabbit dashboard as per your project's needs.
Initiate Code ReviewsStart 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:
- Using the CodeRabbit UI (Web Interface)
- Using a YAML Configuration File
When you create an account and add repositories through the CodeRabbit web interface, you can configure settings for your organization and individual repositories.
- Sign up or log in atcoderabbit.ai
- Navigate to the "Organization Settings" section or "Repositories" section
- Click "Add Repositories" to connect your Git repositories
- Use the UI to configure settings for each repository or at the organization level
- Review Language: Choose the natural language for CodeRabbit to write reviews (e.g., English (US))
- Tone Instructions: Set the tone for reviews and chat
- Early Access: Enable or disable early-access features
- Fine-tune Your Reviews: Allow CodeRabbit to learn from your usage and improve over time
- Customize review profile, summary options, and automated review preferences
- Configure chat-related options
- Set up and manage your organization's knowledge base
- Create and manage API keys for accessing the CodeRabbit API
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.
- Create a file named
.coderabbit.yaml
in the root of your repository - Add your configuration options to the file
- Commit and push the file to your repository
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.jsonlanguage:"en-US"early_access:falsereviews:profile:"chill"request_changes_workflow:falsehigh_level_summary:truepoem:truereview_status:truecollapse_walkthrough:falseauto_review:enabled:truedrafts:falsechat: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 options
For a complete list of configuration options, refer to theCodeRabbit Configuration Schema.
CodeRabbit uses the following order of precedence for configuration:
- YAML file in the repository (highest precedence)
- UI configuration for individual repositories
- UI configuration for the organization (lowest precedence)
- To convert existing UI configuration to YAML, use the
@coderabbitai configuration
command on any PR. - Ensure the
.coderabbit.yaml
file is present in the feature branch for CodeRabbit to review. - New pull requests or incremental commits will trigger CodeRabbit reviews once configured.
Clone this repository:
git clone https://github.com/coderabbit-ai/coderabbit-docs.gitcd 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 thebuild
directory.
We welcome contributions to improve our documentation. Here are some guidelines:
- Fork this repository
- Create a new branch for your changes
- Make all the changes
- Test your changes locally
- Submit a pull request with a clear description of what changes you did and why.
For more detailed contributing guidelines, please see ourCONTRIBUTING.md file.
For more information on using Docusaurus, please refer to theofficial Docusaurus documentation.
Built with ❤️ by the CodeRabbit team
About
Official documentation of CodeRabbit: AI Code Reviews
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- TypeScript45.8%
- CSS30.6%
- JavaScript23.0%
- MDX0.6%