From 2360c21af3a631bdd2f1e8945324d5f892579915 Mon Sep 17 00:00:00 2001 From: karan Date: Wed, 15 Jan 2025 12:37:51 -0800 Subject: [PATCH 1/2] update to mdx --- .../{gitlab-com.md => gitlab-com.mdx} | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) rename docs/platforms/{gitlab-com.md => gitlab-com.mdx} (91%) diff --git a/docs/platforms/gitlab-com.md b/docs/platforms/gitlab-com.mdx similarity index 91% rename from docs/platforms/gitlab-com.md rename to docs/platforms/gitlab-com.mdx index aa9c8317..61a10ca8 100644 --- a/docs/platforms/gitlab-com.md +++ b/docs/platforms/gitlab-com.mdx @@ -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.
- GitLab user modal choice + GitLab user modal choice
:::note @@ -39,12 +39,12 @@ If you wish to change the review user, you must provide the access token for the :::
- GitLab organization user modal
+	<img
+		src= + width="1000" + />
#### 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.
- GitLab personal access token configuration page + GitLab personal access token configuration page
--- @@ -124,21 +124,21 @@ You can confirm the correct user is being selected by verifying the user ID show 3. Select **Install Repositories**.
- GitLab Repo Install Modal + GitLab Repo Install Modal
The webhook `https://coderabbit.ai/gitlabHandler` will now be installed for the projects selected.
- GitLab Webhook Example + GitLab Webhook Example
### Troubleshooting From 383c1f41c42a5a1f160adfcf54686de496468132 Mon Sep 17 00:00:00 2001 From: karan Date: Wed, 15 Jan 2025 12:52:40 -0800 Subject: [PATCH 2/2] Fix issue --- docs/overview/why-coderabbit.md | 2 +- docs/platforms/platforms.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/overview/why-coderabbit.md b/docs/overview/why-coderabbit.md index 5c94ea91..66053f72 100644 --- a/docs/overview/why-coderabbit.md +++ b/docs/overview/why-coderabbit.md @@ -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.1485827954.workers.dev.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. diff --git a/docs/platforms/platforms.md b/docs/platforms/platforms.md index ab0cc068..e826bc96 100644 --- a/docs/platforms/platforms.md +++ b/docs/platforms/platforms.md @@ -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) |