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
Improve Documentation Structure and Accessibility in Markdown Files (#69)
* Major refactor
- Move configure and tools to top level
- Update category positions
- Move images to static dir
- Update links
* Update image file name in introduction.md
* Update sidebar positions for integrations documentation
* Update category positions for documentation
* Update knowledge base integration description
* Update FAQ with CodeRabbit comparison and CodeRabbit's uniqueness
* Update redirects in docusaurus.config.ts
* Update Jira and Linear integration configuration in knowledge base
* Update GitLab integration documentation
description: Integrate CodeRabbit with an external knowledge base for issue tracking.
4
+
sidebar_label: Knowledge Base
5
+
sidebar_position: 3
6
+
---
7
+
8
+
CodeRabbit integrates with external knowledge bases to provide a seamless experience for issue tracking. This will allow CodeRabbit to use the context from the linked issues while reviewing the code.
9
+
10
+
## Jira {#jira}
11
+
12
+
### CodeRabbit App
13
+
14
+
1. Navigate to [integrations][integrations] in the CodeRabbit app.
15
+
2. Toggle the Jira switch to enable the integration.
16
+
17
+
Upon enabling the Jira integration, CodeRabbit will redirect you to the Jira login page. Enter your Jira credentials to authenticate the integration.
18
+
19
+
### CodeRabbit Configuration
20
+
21
+
1. Add Jira's Project Keys to the `knowledge_base.jira.project_keys` field in your project's CodeRabbit configuration file at `.coderabbit.yaml`.
22
+
23
+
## Linear {#Linear}
24
+
25
+
### CodeRabbit App
26
+
27
+
1. Navigate to [integrations][integrations] in the CodeRabbit app.
28
+
2. Toggle the Linear switch to enable the integration.
29
+
30
+
Upon enabling the Linear integration, CodeRabbit will redirect you to the Linear login page. Enter your Linear credentials to authenticate the integration.
31
+
32
+
### CodeRabbit Configuration
33
+
34
+
1. Add Linear's Team Keys to the `knowledge_base.linear.team_keys` field in your project's CodeRabbit configuration file at `.coderabbit.yaml`.
Copy file name to clipboardExpand all lines: docs/integrations/saas-gitlab.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
title: Integrating CodeRabbit with SaaS GitLab
3
3
description: Integrate CodeRabbit with SaaS GitLab.
4
4
sidebar_label: SaaS GitLab
5
+
sidebar_position: 1
5
6
---
6
7
7
8
This guide will assist you in effectively integrating CodeRabbit with SaaS GitLab.
@@ -26,22 +27,22 @@ To interact with the GitLab API, a **Personal Access Token** is required. This t
26
27
27
28
Upon first login to the application (immediately after the onboarding screen), you will need to choose based on your organization's requirements.
28
29
29
-

30
+

30
31
31
-
**We recommend using the default CodeRabbit user** for most organizations as it is pre-configured. However, we understand that some organizations may prefer more control over the user or have restrictions regarding user inclusion within their organization.
32
+
**We recommend using the default CodeRabbit user** for most organizations, as it is pre-configured. However, we understand that some organizations may prefer more control over the user or have restrictions regarding user inclusion within their organization.
32
33
33
34
### Personal Access Tokens
34
35
35
36
If your organization opts to use another user within the organization, you can do so by [generating a personal access token](#generating-a-personal-access-token).
36
37
37
-

38
+

38
39
39
40
#### Recommendations
40
41
41
42
***Create a dedicated user for CodeRabbit** - This ensures the user is exclusively for CodeRabbit, allowing better access control.
42
43
***Use "CodeRabbit" as the username** - This makes the user easily recognizable for future reference.
43
44
***Use a dedicated email address** - This helps in easy identification and management.
44
-
***Use the CodeRabbit logo as the profile picture** - This further ensures easy recognition. You can download our logo from [here](./images/logo.svg"download").
45
+
***Use the CodeRabbit logo as the profile picture** - This further ensures easy recognition. You can download our logo from [here](/img/integrations/logo.svg"download").
45
46
46
47
#### Key Points to Remember
47
48
@@ -66,4 +67,4 @@ GitLab provides an option to generate a personal access token for a new user. Fo
66
67
9. Click "Create Personal Access Token."
67
68
10. Note down the token as it will only be displayed once.
For the manual onboarding process we need to create the [CodeRabbit user](#creating-coderabbit-user) and the [OAuth2 GitLab application](#creating-oauth2-application).
0 commit comments