Skip to content

Commit 419fd55

Browse files
authored
Merge branch 'main' into docs/improve-image-seo
2 parents e8f20a9 + 652dd22 commit 419fd55

19 files changed

+130
-36
lines changed

docs/changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ description: The latest updates and changes to CodeRabbit.
55
sidebar_position: 9
66
---
77

8+
## November 8, 2024
9+
10+
### ESLint Support
11+
12+
We've introducded support for ES Lint, including .vue, .svelte, and .astro, alongside traditional .js, .ts, and .jsx extensions. We've worked on monorepo compatibility with improved Yarn and PNPM workspace support, ensuring seamless integration across your projects. While maintaining your existing ESLint configurations, we simply require all dependencies to be properly defined in your package.json. Note that private plugins aren't currently supported, but we're committed to making code quality maintenance as efficient as possible across all your web development needs
13+
814
## October 31, 2024
915

1016
### Learnings and Metrics Iteration for CodeRabbit Self-Hosted Customers

docs/configure-coderabbit.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description:
55
CodeRabbit offers various configuration options to tailor the reviews to your
66
specific requirements. Configuration can be made using one of the below
77
options.
8-
sidebar_position: 4
8+
sidebar_position: 3
99
---
1010

1111
```mdx-code-block

docs/guides/_category_.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
label: Guides
2-
position: 7
2+
position: 6
33
collapsible: true
44
collapsed: true

docs/integrations/_category_.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
label: Integrations
2-
position: 8
2+
position: 7
33
collapsible: true
44
collapsed: true

docs/platforms/_category_.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
label: Supported Git Platforms
2-
position: 6
2+
position: 5
33
collapsible: true
44
collapsed: true

docs/self-hosted/_category_.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
label: Self-Hosted CodeRabbit
2-
position: 3
2+
position: 8
33
collapsible: true
44
collapsed: true

docs/self-hosted/azure-devops.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ description: Instructions to self-host CodeRabbit and integrate it with Azure De
55
sidebar_position: 3
66
---
77

8+
:::note
9+
10+
The self-hosted option is only available for CodeRabbit Enterprise customers with 500 user seats or more. Please contact [CodeRabbit Sales](mailto:[email protected]) to learn more about the CodeRabbit Enterprise plan.
11+
12+
:::
13+
814
## Create a Azure DevOps User
915

1016
- **Username**: Set the username to "CodeRabbit" for easier identification (optional).

docs/self-hosted/github.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ description: Instructions to self-host CodeRabbit and integrate it with GitHub.
55
sidebar_position: 1
66
---
77

8+
:::note
9+
10+
The self-hosted option is only available for CodeRabbit Enterprise customers with 500 user seats or more. Please contact [CodeRabbit Sales](mailto:[email protected]) to learn more about the CodeRabbit Enterprise plan.
11+
12+
:::
13+
814
## Create a GitHub App
915

1016
Set the following Repository permissions:

docs/self-hosted/gitlab.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ description: Instructions to self-host CodeRabbit and integrate it with GitLab.
55
sidebar_position: 2
66
---
77

8+
:::note
9+
10+
The self-hosted option is only available for CodeRabbit Enterprise customers with 500 user seats or more. Please contact [CodeRabbit Sales](mailto:[email protected]) to learn more about the CodeRabbit Enterprise plan.
11+
12+
:::
13+
814
## Create a GitLab User
915

1016
- **Username**: Set the username to "CodeRabbit" for easier identification (optional).

docs/tools/_category_.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
label: Supported Tools
2-
position: 5
2+
position: 4
33
collapsible: true
44
collapsed: true

docs/tools/eslint.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: ESLint
3+
sidebar_label: ESLint
4+
description: CodeRabbit's guide to ESLint.
5+
---
6+
7+
[ESLint](https://eslint.org/) is a linter for JavaScript, TypeScript, JSX, TSX, CSS, etc.
8+
9+
## Files
10+
11+
ESLint will run on files with the following extensions:
12+
13+
- `.js`
14+
- `.ts`
15+
- `.cjs`
16+
- `.mjs`
17+
- `.d.cts`
18+
- `.d.mts`
19+
- `.jsx`
20+
- `.tsx`
21+
- `.css`
22+
- `.vue`
23+
- `.svelte`
24+
- `.astro`
25+
26+
## Configuration
27+
28+
CodeRabbit reads your ESLint configuration and uses it as is. Please ensure that all ESLint dependencies are defined in your `package.json` file(s). CodeRabbit supports Yarn and PNPM workspaces in your monorepo. CodeRabbit doesn't support private ESLint plugins or configurations at the moment.

docusaurus.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ const config: Config = {
166166
hideOnScroll: true,
167167
logo: {
168168
alt: "",
169-
src: "img/coderabbit_nav_logo.svg",
169+
src: "img/logo/bw_coderabbit.svg",
170+
srcDark: "img/logo/white_coderabbit.svg",
170171
href: "https://coderabbit.ai",
171172
},
172173
items: [],

src/css/custom.css

+24-15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Work+Sans:wght@400;500;600;700&display=swap");
2+
13
@tailwind base;
24
@tailwind components;
35
@tailwind utilities;
@@ -9,28 +11,35 @@
911

1012
/* You can override the default Infima variables here. */
1113
:root {
12-
--ifm-color-primary: #ff4702;
13-
--ifm-color-primary-dark: #29784c;
14-
--ifm-color-primary-darker: #277148;
15-
--ifm-color-primary-darkest: #205d3b;
16-
--ifm-color-primary-light: #33925d;
17-
--ifm-color-primary-lighter: #359962;
18-
--ifm-color-primary-lightest: #3cad6e;
14+
--ifm-color-primary: #ff570a;
15+
--ifm-color-primary-dark: #ff570ae5;
16+
--ifm-color-primary-darker: #ff570a;
17+
--ifm-color-primary-darkest: #ff570a;
18+
--ifm-color-primary-light: #ff570a1a;
19+
--ifm-color-primary-lighter: #ff570a33;
20+
--ifm-color-primary-lightest: #ff8b51;
1921
--ifm-code-font-size: 95%;
2022
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
2123
--ifm-navbar-height: 5rem;
24+
--ifm-font-family-base: "Poppins", "Work Sans", sans-serif;
25+
--ifm-background-color-primary: #f6f6f1;
2226
}
2327

24-
/* For readability concerns, you should choose a lighter palette in dark mode. */
2528
[data-theme="dark"] {
26-
--ifm-color-primary: #ff4702;
27-
--ifm-color-primary-dark: #21af90;
28-
--ifm-color-primary-darker: #1fa588;
29-
--ifm-color-primary-darkest: #1a8870;
30-
--ifm-color-primary-light: #29d5b0;
31-
--ifm-color-primary-lighter: #32d8b4;
32-
--ifm-color-primary-lightest: #4fddbf;
29+
--ifm-color-primary: #ff865be5;
30+
--ifm-color-primary-dark: #ff865bcc;
31+
--ifm-color-primary-darker: #ff865b80;
32+
--ifm-color-primary-darkest: #ff865b80;
33+
--ifm-color-primary-light: #ff865b;
34+
--ifm-color-primary-lighter: #ff865b1a;
35+
--ifm-color-primary-lightest: #171717;
3336
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
37+
--ifm-background-color-primary: #171717;
38+
}
39+
40+
#__docusaurus {
41+
background-color: var(--ifm-background-color-primary);
42+
font-family: var(--ifm-font-family-base);
3443
}
3544

3645
.navbar .navbar__item {

src/theme/Footer/cr-logo.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)