Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb8c15b0

Browse files
committed
Tweaks
1 parent8f04914 commitb8c15b0

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed

‎docs/guides/configuration-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ As a complement to the configuration methods listed above, CodeRabbit keeps an i
7979

8080
For more information, see[Teach CodeRabbit your review preferences](/guides/learnings).
8181

82-
#What's next {#whats-next}
82+
##What's next {#whats-next}
8383

8484
-[Initial configuration guide](/guides/initial-configuration)

‎docs/guides/learnings.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ If CodeRabbit decides to create one or more learnings based on a comment, then i
4040

4141
###An example of adding a learning {#example}
4242

43-
Imagine a scenario where CodeRabbit has reviewed a pull request from your team that adds a feature to an authentication middleware library. CodeRabbit has flagged a certain file as needing improvement, attaching this comment to the relevant lines in its review:
43+
Imagine a scenario where CodeRabbit has reviewed aGitHub-basedpull request from your team that adds a feature to an authentication middleware library. CodeRabbit has flagged a certain file as needing improvement, attaching this comment to the relevant lines in its review:
4444

4545
>Consider using nested try-catch blocks here to handle different error scenarios more comprehensively.
4646
47-
If this critique disagrees with your team's coding practices specific to try-catch blocks, then you can reply to this CodeRabbit using a comment of your own:
47+
If this critique disagrees with your team's coding practices specific to try-catch blocks, then you can reply to this CodeRabbit using a comment of your own, addressed to the`@coderabbitai` service account on GitHub:
4848

4949
>@coderabbitai Actually, we've found that nested try-catch blocks make our auth middleware harder to debug in production. We prefer early returns with specific error codes - it's cleaner and our monitoring tools can track them better.
5050
51-
CodeRabbit—in this case, using the@coderabbitai service account available on GitHub—considers your reply, and decides to make a learning out of it. It acknowledges this in another reply:
51+
CodeRabbitconsiders your reply, and decides to make a learning out of it. It acknowledges this in another reply:
5252

5353
>You're absolutely right about the debugging benefits. Early returns with specific error codes do provide better clarity and monitoring capabilities. I'll remember this preference for your authentication middleware. Thank you for the guidance!
5454
@@ -58,13 +58,13 @@ CodeRabbit then creates a new learnings record for itself. Along with metadata s
5858

5959
>In authentication middleware, prefer returning early with specific error codes rather than nested try-catch blocks. This improves readability and makes error tracking easier in production environments.
6060
61-
###Best practices for new learnings
61+
###Best practices for new learnings {#best-practices}
6262

6363
When communicating with CodeRabbit during an active code review, you can help make any resulting learnings more specific by replying directly to review comments that CodeRabbit has left on specific files, rather than leaving comments on the overall pull request. This gives CodeRabbit more context when considering feedback, allowing it to create more specific learnings.
6464

65-
##View learnings
65+
##View learnings {#view}
6666

67-
To view the learnings that CodeRabbit has associated with yourGit platformorganization,
67+
To view the learnings that CodeRabbit has associated with your organization,
6868
follow these steps:
6969

7070
1. Visit[the CodeRabbit web interface](https://app.coderabbit.ai/settings/repositories).
@@ -73,15 +73,17 @@ follow these steps:
7373

7474
This displays a paged list of all of the learnings associated with your organization, sorted by creation time, newest-first. To see more details about any learnings record, click its text.
7575

76-
###Filter displayed learnings
76+
###Filter displayed learnings {#filter}
77+
78+
Over time, the learnings that CodeRabbit gathers for your organization can become quite numerous. This can make manually browsing the full list difficult. The CodeRabbit web interface has search and filtering tools to help you find specific learnings, based on the topic of the learning text, or on other metadata.
7779

7880
To filter the displayed learnings by topic or concept, enter that topic or concept into the**Similarity search** field, and set**Top K** to the number of results you want returned. Because this is a vector-based similarity search, the returned learnings don't necessarily contain the exact text of your search terms.
7981

8082
For example, to see the top ten learnings that have to do with error reporting, enter`error reporting` into**Similarity search** and set**Top K** to`10`.
8183

8284
To filter the displayed learnings by repository, user, or file path, click**+ Filters**, and select additional criteria.
8385

84-
###Edit or delete learnings
86+
###Edit or delete learnings {#edit}
8587

8688
If your account has the**Admin**[CodeRabbit role](/guides/roles) with your organization, then you can freely edit the text of any stored learning, or delete it outright.
8789

@@ -91,23 +93,23 @@ To edit or delete a learning, follow these steps:
9193

9294
1. Select**Edit** or**Delete**.
9395

94-
##Configure learnings storage and application
96+
##Configure learnings storage and application {#configure}
9597

9698
CodeRabbit has several configuration options that modify the storage and application of learnings.
9799

98-
###Opt out of learnings storage
100+
###Opt out of learnings storage {#opt-out}
99101

100102
CodeRabbit enables learnings by default. To disable learnings, modify one of the following configuration options:
101103

102104
- To disable all CodeRabbit[knowledge base](/integrations/knowledge-base) features for your organization or repository, which includes learnings, enable[the_Opt out_ setting](/reference/configuration#opt-out).
103105

104106
- To disable all CodeRabbit features that require long-term data retention about your organization's use of CodeRabbit—including learnings—disable[the_Data retention_ setting](/reference/configuration#data-retention).
105107

106-
::warning
108+
:::warning
107109
Disabling data retention immediately and irrevocably deletes all learnings that CodeRabbit has associated with your organization.
108110
:::
109111

110-
###Specify the scope of applied learnings
112+
###Specify the scope of applied learnings {#scope}
111113

112114
[The Learnings configuration setting](/reference/configuration#learnings) lets you specify the_scope_ that CodeRabbit applies to all
113115
of the learnings it has collected about your organization. You can set this option to one of the
@@ -116,3 +118,7 @@ following values:
116118
-**`auto`**: When reviewing a public repository, CodeRabbit applies only the learnings specific to that repository. When reviewing private repository, CodeRabbit applies all of your organization's learnings. This is the default setting.
117119
-**`global`**: CodeRabbit applies all of your organization's learnings to all code reviews.
118120
-**`local`**: CodeRabbit applies only learnings associated with code reviews' respective repositories.
121+
122+
##What's next {#whats-next}
123+
124+
-[Add review instructions](/guides/review-instructions)

‎docs/integrations/knowledge-base.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title:Apply your code review preferences
2+
title:Knowledge base overview
33
description:Learn about CodeRabbit's internal knowledge base and its integrations with external services.
44
---
55

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp