Skip to content

Commit 24f37b1

Browse files
authored
Merge branch 'main' into readme
2 parents 5b12cc1 + b610174 commit 24f37b1

29 files changed

+256
-129
lines changed

docs/changelog.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ We're thrilled to introduce agentic planning on GitHub for CodeRabbit chat as Ge
6666

6767
We've expanded our static analysis capabilities with two new tools:
6868

69-
- **oxlint**: A high-performance JavaScript/TypeScript linter written in Rust.
69+
- **Oxlint**: A high-performance JavaScript/TypeScript linter written in Rust.
7070
- **Prisma Lint**: A dedicated linter for Prisma schema files to help enforce consistent conventions and best practices.
7171

7272
Both tools can be configured through their respective config files or through CodeRabbit's settings page. See our [tools documentation](https://docs.coderabbit.ai/tools/) for more details.
@@ -124,8 +124,8 @@ We're thrilled to introduce agentic planning on GitHub for CodeRabbit chat as an
124124
We are continually expanding our support for static analysis tools. We've recently added support for:
125125

126126
- SQLFluff
127-
- Added oxlint for faster linting
128-
- oxlint is a blazingly fast JavaScript/TypeScript linter written in Rust
127+
- Added Oxlint for faster linting
128+
- Oxlint is a blazingly fast JavaScript/TypeScript linter written in Rust
129129
- Replaces ESLint for basic linting while maintaining ESLint for more complex rules
130130
- Up to 50-100x faster than traditional ESLint
131131

docs/faq.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ CodeRabbit works with all programming languages, with varying proficiency based
3131

3232
<Tabs>
3333
<TabItem value="storage" label="Code Storage" default>
34-
- No persistent code storage
35-
- Temporary cloning during review only
3634
- Complete data isolation
37-
- Immediate disposal post-review
35+
- Caching of encrypted code and dependency archives for faster reviews
36+
- Code indexing in which we store vector representations of code for efficient code base context
37+
- Both caching and code indexing can be disabled which means we store nothing post-review
3838
</TabItem>
3939
<TabItem value="training" label="Training Data">
4040
- Uses only public datasets
@@ -92,7 +92,7 @@ Email field and click Update to save your changes.
9292
### Usage and Configuration
9393

9494
- **Language Settings**: Configure review language in repository settings
95-
- **Review Rules**: Customize via [Review Instructions](/guides/review-instructions)
95+
- **Review Rules**: Customize via [review instructions](/guides/review-instructions)
9696
- **Branch Selection**: Default branch reviews enabled by default (configurable)
9797

9898
### Access & Permissions
@@ -108,7 +108,7 @@ Interact with CodeRabbit by:
108108
1. Replying directly to CodeRabbit comments
109109
2. Tagging `@coderabbitai` in PR discussions
110110
3. Adding review comments for specific lines
111-
4. Customize via [Review Instructions](/guides/review-instructions)
111+
4. Customize via [review instructions](/guides/review-instructions)
112112

113113
:::tip Collaboration Mode
114114
When team members are active in PRs, use `@coderabbitai` to engage the bot.

docs/finishing-touches/docstrings.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
title: Docstrings generation with CodeRabbit
3-
sidebar_label: Docstrings
2+
title: Generate docstrings
43
description: Automated docstrings pull requests with CodeRabbit
54
---
65

docs/getting-started/adding-organizations.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Adding Organizations
2+
title: Add organizations
33
description: Learn how to add new organizations to CodeRabbit
4-
sidebar_label: Adding Organizations
5-
sidebar_position: 5
64
---
75

86
To add new organizations to CodeRabbit, follow these steps:

docs/getting-started/configure-coderabbit.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
2-
title: Configure CodeRabbit
3-
sidebar_label: Configure
2+
title: Add a configuration file
43
description:
54
CodeRabbit offers various configuration options to tailor the reviews to your
65
specific requirements. Configuration can be made using one of the below
76
options.
8-
sidebar_position: 2
97
---
108

119
```mdx-code-block

docs/getting-started/quickstart.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ When you complete this tutorial, you'll have seen CodeRabbit's code-review featu
1919
For a more general overview of CodeRabbit, see [Introduction](/).
2020

2121
:::note
22-
While this tutorial focuses on GitHub, CodeRabbit also works with GitLab, Azure DevOps, and Bitbucket. For more information, see [Supported Git Platforms](/platforms/).
22+
While this tutorial focuses on GitHub, CodeRabbit also works with GitLab, Azure DevOps, and Bitbucket. For more information, see [Integrate with Git platforms](/platforms/).
2323
:::
2424

2525
## Before you begin
@@ -44,6 +44,9 @@ To add CodeRabbit to your test repository, follow these steps:
4444
1. Select the **Only select repositories** radio button.
4545
1. From the **Select repositories** menu, select the `coderabbit-test` repository that you created earlier in this Quickstart.
4646
1. Click **Install & Authorize**.
47+
:::note
48+
CodeRabbit requests read and write access to your repository in order for its code review, issue management, and pull request generation features to work. CodeRabbit never stores your code. For more information, see [the CodeRabbit Trust Center](https://trust.coderabbit.ai).
49+
:::
4750
1. If a CodeRabbit **Complete your signup** dialog appears, then fill it out with the requested information before continuing.
4851

4952
CodeRabbit is now ready to use with your test repository. The next steps demonstrate its core code-review features.

docs/getting-started/subscription-management.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Subscription Management
2+
title: Manage your subscription
33
description: Learn how to manage your CodeRabbit subscription, including billing, plan changes, and seat management
4-
sidebar_label: Subscription Management
5-
sidebar_position: 7
64
---
75

86
This guide covers how to manage your subscription, including accessing billing information, changing plans, and adjusting your seat count.

docs/getting-started/support.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Support
3-
sidebar_label: Support
2+
title: Get support
43
description: Get help with CodeRabbit and find answers to common questions.
5-
sidebar_position: 3
64
---
75

86
Welcome to CodeRabbit Support. Please refer to the following sections for

docs/getting-started/upgrading-permissions.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Upgrading App Permissions
2+
title: Set permissions
33
description: Learn how to upgrade CodeRabbit's GitHub App permissions when new features are added
4-
sidebar_label: Upgrading Permissions
5-
sidebar_position: 6
64
---
75

86
Sometimes when we add new features to CodeRabbit, we need to request additional GitHub permissions. If you see a warning about permissions or resources not being accessible, you'll need to approve the new permissions. Here's how to do it:

docs/guides/agent_chat.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Chat and Agentic Chat
3-
sidebar_label: Chat and Agentic Chat
2+
title: Discuss code reviews with CodeRabbit
43
description: Learn about CodeRabbit Pro's chat and agentic chat system
5-
sidebar_position: 3
64
---
75

86
# CodeRabbit Chat

docs/guides/commands.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Commands
3-
sidebar_label: Commands
2+
title: Control and manage code reviews
43
description: Learn how to control CodeRabbit using commands in pull request comments
5-
sidebar_position: 1
64
---
75

86
# CodeRabbit Commands

docs/guides/custom-reports.md

+34-26
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Custom Reports
3-
sidebar_label: Custom Reports
2+
title: Customize reports
43
description: Learn how to create custom reports with CodeRabbit Pro's flexible reporting system
5-
sidebar_position: 8
64
---
75

86
```mdx-code-block
@@ -78,6 +76,11 @@ Contained within the `<pr_details>` tag.
7876
- `State`: string ("open"/"closed") - Current state of the PR
7977
- `Mergeable`: boolean (true/false) - Whether the PR can be merged
8078
- `Is stale`: boolean - Whether PR has been inactive for over 168 hours
79+
- `PR Stage`: string - The current stage of open PRs in Open or Draft state, can be one of:
80+
- "Needs Author Action" - PR requires author attention due to merge conflicts, draft status, or requested changes
81+
- "Waiting for Author to Merge" - PR has approvals and is ready for author to merge
82+
- "Waiting for Code Reviews" - PR is waiting for reviewers to approve
83+
- undefined - PR is not in an open state (is merged or closed)
8184

8285
#### Basic Information
8386

@@ -126,60 +129,65 @@ Generate a summary of each pull request in the following bullet point format:
126129
- If 'Merged: true' set 'PR State: 🔀 Merged'
127130
- Else If 'Draft: true' set 'PR State: 📝 Draft'
128131
- Else If 'State: open' or 'State: active' set 'PR State: 💬 Open'
129-
- Else If 'State: closed' and 'Merged: false' set 'PR State: 🔒 Closed'
132+
- Else If 'State: closed' or 'State: DECLINED' and 'Merged: false' set 'PR State: 🔒 Closed'
130133
- Else set 'PR State: ❓ Unknown'
131134
- If the PR is stale, add '⚠️ Stale' at the end of the PR State.
132-
- Mergeable (if PR State if not 'Merged'): Provide the mergeable status of the PR as 'Mergeable' or 'Not Mergeable'.
135+
- Mergeable (if PR State is not 'Merged'): Provide the mergeable status of the PR as 'Mergeable' or 'Not Mergeable' based on the "Mergeable: " value.
136+
- PR Stage (if PR State is not 'Merged'): Provide the stage of the PR based on the "PR Stage: " value.
133137
- Summary: In under 50 words provide a short summary of the PR.
134138
- Comments: In under 50 words provide a short summary of all comments found within <pr_comments>, including each comments author username from <comment_author_username>. If there are no comments available, output 'No comments'.
135139
</overall_instructions>
136140
137141
<example>
138142
- **PR Link:** [#3001](https://github.com/mygithuborg/myrepo/pull/3001)
139-
- **Title:** [PR Title]
143+
- **Title:** PR Title
140144
- **PR State:** 💬 Open
141145
- **Mergeable:** Mergeable
142-
- **Summary:** [Summary of the PR].
143-
- **Comments:** [Summary of the PR comments].
146+
- **PR Stage:** Waiting for Code Reviews
147+
- **Summary:** Summary of the PR.
148+
- **Comments:** Summary of the PR comments or No comments.
144149
145150
- **PR Link:** [#302](https://github.com/mygithuborg/thatrepo/pull/302)
146-
- **Title:** [PR Title]
151+
- **Title:** PR Title
147152
- **PR State:** 💬 Open
148153
- **Mergeable:** Mergeable
149-
- **Summary:** [Summary of the PR].
150-
- **Comments:** [Summary of the PR comments].
154+
- **PR Stage:** Waiting for Author to Merge
155+
- **Summary:** Summary of the PR.
156+
- **Comments:** Summary of the PR comments or No comments.
151157
152158
- **PR Link:** [#3](https://github.com/mygithuborg/myotherrepo/pull/3)
153-
- **Title:** [PR Title]
159+
- **Title:** PR Title
154160
- **PR State:** 🔀 Merged
155-
- **Summary:** [Summary of the PR].
156-
- **Comments:** [Summary of the PR comments].
161+
- **Summary:** Summary of the PR.
162+
- **Comments:** Summary of the PR comments or No comments.
157163
158164
- **PR Link:** [#14](https://github.com/mygithuborg/frontend/pull/14)
159-
- **Title:** [PR Title]
165+
- **Title:** PR Title
160166
- **PR State:** 💬 Open
161167
- **Mergeable:** Mergeable
162-
- **Summary:** [Summary of the PR].
163-
- **Comments:** [Summary of the PR comments].
168+
- **PR Stage:** Needs Author Action
169+
- **Summary:** Summary of the PR.
170+
- **Comments:** Summary of the PR comments or No comments.
164171
165172
- **PR Link:** [#13005](https://github.com/mygithuborg/backend/pull/13005)
166-
- **Title:** [PR Title]
173+
- **Title:** PR Title
167174
- **PR State:** 🔀 Merged
168-
- **Summary:** [Summary of the PR].
169-
- **Comments:** [Summary of the PR comments].
175+
- **Summary:** Summary of the PR.
176+
- **Comments:** Summary of the PR comments or No comments.
170177
171178
- **PR Link:** [#3006](https://github.com/mygithuborg/myrepo/pull/3006)
172-
- **Title:** [PR Title]
179+
- **Title:** PR Title
173180
- **PR State:** 🔀 Merged
174-
- **Summary:** [Summary of the PR].
175-
- **Comments:** [Summary of the PR comments].
181+
- **Summary:** Summary of the PR.
182+
- **Comments:** Summary of the PR comments or No comments.
176183
177184
- **PR Link:** [#3007](https://github.com/mygithuborg/myrepo/pull/3007)
178-
- **Title:** [PR Title]
185+
- **Title:** PR Title
179186
- **PR State:** 📝 Draft
180187
- **Mergeable:** Not Mergeable
181-
- **Summary:** [Summary of the PR].
182-
- **Comments:** [Summary of the PR comments].
188+
- **PR Stage:** Needs Author Action
189+
- **Summary:** Summary of the PR.
190+
- **Comments:** Summary of the PR comments or No comments.
183191
</example>
184192
```
185193

docs/guides/issue-chat.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Issue Chat
3-
sidebar_label: Issue Chat
2+
title: Discuss issues and plan solutions
43
description: Learn how to use CodeRabbit's chat capabilities within issues
5-
sidebar_position: 4
64
---
75

86
```mdx-code-block

docs/guides/issue-creation.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Issue Creation
3-
sidebar_label: Issue Creation
2+
title: Create issues
43
description: Learn how to create issues directly through CodeRabbit
5-
sidebar_position: 5
64
---
75

86
```mdx-code-block

docs/guides/linked-issues.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Linked Issues
3-
sidebar_label: Linked Issues
2+
title: Work with linked Issues
43
description: Learn how to effectively use linked issues with CodeRabbit for better pull request assessments
5-
sidebar_position: 6
64
---
75

86
# Linked Issues
@@ -170,6 +168,6 @@ Only the issue title and description are considered in the assessment. Comments
170168

171169
## Related Resources
172170

173-
- [Review Instructions](./review-instructions.md)
171+
- [Add review instructions](/guides/review-instructions)
174172
- [Issue Chat](./issue-chat.md)
175173
- [Issue Creation](./issue-creation.md)

docs/guides/ondemand-reports.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: On-demand Reports
3-
sidebar_label: On-demand Reports
2+
title: Generate reports
43
description: CodeRabbit offers a way to generate on-demand reports using a simple API request
5-
sidebar_position: 9
64
---
75

86
```mdx-code-block

docs/guides/review-instructions.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
2-
title: Review Instructions
3-
sidebar_label: Review Instructions
2+
title: Add review instructions
43
description:
54
CodeRabbit offers various customization options to tailor the reviews to your
65
specific requirements. Customizations can be made using one of the below
76
options.
8-
sidebar_position: 2
97
---
108

119
The guide explains how to add custom review instructions for the entire project.

docs/guides/scheduled-reports.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Scheduled Reports
3-
sidebar_label: Scheduled Reports
2+
title: Schedule reports
43
description: Learn how to set up automated recurring reports with CodeRabbit Pro
5-
sidebar_position: 7
64
---
75

86
```mdx-code-block

docs/integrations/code-graph-analysis.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Code Graph Analysis
2+
title: Analyze your code changes
33
description: Learn about CodeRabbit's intelligent graph-based code analysis.
4-
sidebar_label: Code Graph Analysis
5-
sidebar_position: 6
64
---
75

86
# CodeRabbit Code Graph Analysis

docs/integrations/issue-integrations.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Issue Integrations
2+
title: Integrate issue tracking
33
description: Learn about CodeRabbit's integrations with issue tracking systems like Jira and Linear.
4-
sidebar_label: Issue Integrations
5-
sidebar_position: 5
64
---
75

86
CodeRabbit integrates with popular issue tracking systems to provide context from linked and related issues while reviewing code.

docs/integrations/knowledge-base.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: Knowledge Base
2+
title: Apply your code review preferences
33
description: Learn about CodeRabbit's internal knowledge base and its integrations with external services.
4-
sidebar_label: Knowledge Base
5-
sidebar_position: 4
64
---
75

86
CodeRabbit utilizes an internal knowledge base that integrates with several external services to provide a seamless review and issue management experience.

0 commit comments

Comments
 (0)