Skip to content

Update to mdx file and see if build succeeds #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/overview/why-coderabbit.md
Original file line number Diff line number Diff line change
@@ -348,7 +348,7 @@ CodeRabbit is built for production environments with:

### Three Steps to Better Code Reviews

1. **Sign in** with [GitHub](/platforms/github-com), [GitLab](/platforms/gitlab-com), or [Azure DevOps](/platforms/azure-devops)
1. **Sign in** with [GitHub](../platforms/github-com.md), [GitLab](../platforms/gitlab-com.mdx), or [Azure DevOps](../platforms/azure-devops.md)
2. Select and add repositories in CodeRabbit dashboard
3. That's it. You're good to go.

50 changes: 25 additions & 25 deletions docs/platforms/gitlab-com.md → docs/platforms/gitlab-com.mdx
Original file line number Diff line number Diff line change
@@ -25,11 +25,11 @@ To enable CodeRabbit to interact with your GitLab repositories, an access token
We recommend creating a new user as a service account, associating this user to the group you'd like to install CodeRabbit on, and providing CodeRabbit with the personal access token to allow access. During the installation process, CodeRabbit will automatically configure the required webhook for seamless integration.

<div class="center-image">
<img
src="/img/integrations/gitlab_user_choice.png"
alt="GitLab user modal choice"
width="1000"
/>
<img
src="/img/integrations/gitlab_user_choice.png"
alt="GitLab user modal choice"
width="1000"
/>
</div>

:::note
@@ -39,12 +39,12 @@ If you wish to change the review user, you must provide the access token for the
:::

<div class="center-image">
<img
src="/img/integrations/gitlab_organization_user.png"
alt="GitLab organization user modal
<img
src="/img/integrations/gitlab_organization_user.png"
alt="GitLab organization user modal
choice"
width="1000"
/>
width="1000"
/>
</div>

#### Recommendations
@@ -79,11 +79,11 @@ GitLab provides an option to generate a personal access token for a new user. Fo
10. Note down the token as it will only be displayed once.

<div class="center-image">
<img
src="/img/integrations/admin-access-token.png"
alt="GitLab personal access token configuration page"
width="1000"
/>
<img
src="/img/integrations/admin-access-token.png"
alt="GitLab personal access token configuration page"
width="1000"
/>
</div>

---
@@ -124,21 +124,21 @@ You can confirm the correct user is being selected by verifying the user ID show
3. Select **Install Repositories**.

<div class="center-image">
<img
src="/img/integrations/gitlab-repo-install.png"
alt="GitLab Repo Install Modal"
width="1000"
/>
<img
src="/img/integrations/gitlab-repo-install.png"
alt="GitLab Repo Install Modal"
width="1000"
/>
</div>

The webhook `https://coderabbit.ai/gitlabHandler` will now be installed for the projects selected.

<div class="center-image">
<img
src="/img/integrations/gitlab-webhook.png"
alt="GitLab Webhook Example"
width="1000"
/>
<img
src="/img/integrations/gitlab-webhook.png"
alt="GitLab Webhook Example"
width="1000"
/>
</div>

### Troubleshooting
2 changes: 1 addition & 1 deletion docs/platforms/platforms.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ CodeRabbit supports various Git platforms to provide code review for your reposi

| Host | Support |
| ------------------- | ------------------------------------- |
| GitLab.com | [Supported](gitlab-com.md) |
| GitLab.com | [Supported](gitlab-com.mdx) |
| GitLab Self Managed | [Supported](self-hosted-gitlab.md) |
| GitLab Self Hosted | [Supported](../self-hosted/gitlab.md) |