Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 419fd55

Browse files
authoredNov 11, 2024··
Merge branch 'main' into docs/improve-image-seo
2 parents e8f20a9 + 652dd22 commit 419fd55

File tree

19 files changed

+130
-36
lines changed

19 files changed

+130
-36
lines changed
 

‎docs/changelog.md

Lines changed: 6 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 6 additions & 0 deletions
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:sales@coderabbit.ai) 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

Lines changed: 6 additions & 0 deletions
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:sales@coderabbit.ai) 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

Lines changed: 6 additions & 0 deletions
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:sales@coderabbit.ai) 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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 28 additions & 0 deletions
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 24 additions & 15 deletions
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

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/theme/Footer/index.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import OriginalFooter from "@theme-original/Footer"
22
import React from "react"
3+
import { CRLogoBase64 } from "./cr-logo"
34

45
// Create your custom Footer component by extending the original Footer
56
function CustomFooter(props) {
@@ -14,14 +15,14 @@ function CustomFooter(props) {
1415
<div className="flex gap-1 pr-2 py-px items-start">
1516
<img
1617
loading="lazy"
17-
src="https://cdn.builder.io/api/v1/image/assets/TEMP/c2b003ad3b20290b59f3b08f614c5151ce5af2538be8ff145c1aae4ecfa170f8?"
18-
className="aspect-[1.17] object-contain object-center w-7 fill-white overflow-hidden shrink-0 max-w-full"
18+
src={CRLogoBase64}
19+
style={{
20+
maxWidth: "200px",
21+
height: "auto",
22+
}}
1923
/>
20-
<div className="text-center text-xl font-extrabold leading-7 tracking-tighter self-stretch grow whitespace-nowrap text-customWhite">
21-
CodeRabbit
22-
</div>
2324
</div>
24-
<div className="flex items-stretch max-w-md text-xs font-medium mt-10 max-md:mt-10 font-satoshi leading-5 text-customGray">
25+
<div className="flex items-stretch max-w-md text-xs font-medium mt-10 max-md:mt-10 leading-5 text-customGray">
2526
CodeRabbit is an innovative, AI-driven platform that transforms
2627
the way code reviews are done. Its automated reviews elevate the
2728
code quality while significantly reducing the time and effort tied
@@ -90,7 +91,7 @@ function CustomFooter(props) {
9091
</div>
9192
<div className="bg-neutral-700 shrink-0 h-px mt-6 max-md:max-w-full" />
9293
<div className="justify-between flex w-full gap-5 mt-7 items-start max-md:max-w-full max-md:flex-wrap">
93-
<div className="text-sm font-medium font-satoshi text-customWhite">
94+
<div className="text-sm font-medium text-customWhite">
9495
CodeRabbit © {new Date().getFullYear()}
9596
</div>
9697
<div className="justify-end items-stretch self-stretch flex gap-4 pl-20 max-md:max-w-full max-md:flex-wrap max-md:pl-5">

‎static/img/favicon.ico

-2.18 KB
Binary file not shown.

‎static/img/logo/bw_coderabbit.svg

Lines changed: 19 additions & 4 deletions
Loading

‎static/img/logo/white_coderabbit.svg

Lines changed: 18 additions & 3 deletions
Loading

‎static/img/preview.png

347 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.