Skip to content

update: introduction, added a CTA and improved image SEO #108

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 175 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
1850560
Coderabbit Docs Rework (wip)
karan925 Dec 21, 2023
5a428da
WIP blog page
karan925 Dec 21, 2023
6f6cbba
Fixed images
karan925 Dec 22, 2023
437f0c1
Wip added all blogs and docs
karan925 Dec 22, 2023
659543e
✏️ Remove asterisk from CodeRabbit heading
karan925 Dec 22, 2023
457b050
Add Tailwind CSS configuration and update page title
karan925 Dec 22, 2023
1921f66
Update logo href and navbar styling
karan925 Dec 22, 2023
12fac5d
Update Docusaurus configuration and custom CSS
karan925 Dec 22, 2023
e81cb5c
Update routing and styling
karan925 Dec 22, 2023
2eb8767
Add sitemap configuration and update redirect paths
karan925 Dec 22, 2023
0c1e382
blog: cost effective generative ai app
gitcommitshow Dec 23, 2023
962456e
fix: numbering
gitcommitshow Jan 5, 2024
f20540c
Update CodeRabbit links in documentation
karan925 Dec 22, 2023
3992b66
Update CodeRabbit documentation
karan925 Dec 22, 2023
7488bbf
Update base URL and redirect to external documentation
karan925 Dec 22, 2023
659c010
Update links to Get Started page
karan925 Dec 22, 2023
7e045cf
Add new images and update links in docusaurus.config.ts and sidebars.ts
karan925 Dec 22, 2023
0f274d9
Add redirect to documentation page
karan925 Dec 22, 2023
ad69816
Update slug in introduction.md
karan925 Dec 22, 2023
7632346
Update introduction.md and docusaurus.config.ts, delete index.tsx
karan925 Dec 22, 2023
48a85c3
Add code to change the docs link on the navbar
karan925 Dec 22, 2023
d3a5ff7
Remove unnecessary code and add redirect for docs
karan925 Dec 22, 2023
d117978
Update docs link and hide SVG icon
karan925 Dec 23, 2023
97213cc
Adjustments for mobile view in custom.css
karan925 Dec 29, 2023
f912e24
Update logo size and padding for smaller screens, center Discord link…
karan925 Dec 31, 2023
0b913d7
Update image paths in CodeRabbit deep dive blog post
karan925 Jan 4, 2024
4133ff0
Update image in introduction.md
karan925 Jan 8, 2024
ea1d09b
Update image URL in blog post
karan925 Jan 10, 2024
de40cf1
Update favicon links in blog post
karan925 Jan 10, 2024
34c9de0
Update og:image URL in blog post
karan925 Jan 10, 2024
0319500
Update blog post image URLs
karan925 Jan 10, 2024
265cb7c
Update image URLs in blog posts
karan925 Jan 10, 2024
e08f048
feat: added document under integration on integration with self hoste…
coderabbit-amank Jan 12, 2024
308e940
Update docs/integrations/self-hosted-gitlab.md
guritfaq Jan 14, 2024
5844da6
Update docs/integrations/self-hosted-gitlab.md
guritfaq Jan 14, 2024
b1f719e
Update docs/integrations/self-hosted-gitlab.md
guritfaq Jan 14, 2024
aac251d
Update docs/integrations/self-hosted-gitlab.md
guritfaq Jan 14, 2024
424b4df
Update docs/integrations/self-hosted-gitlab.md
guritfaq Jan 14, 2024
57f71ea
Update docs/integrations/self-hosted-gitlab.md
guritfaq Jan 14, 2024
4823be9
Update docs/integrations/self-hosted-gitlab.md
guritfaq Jan 14, 2024
7bbafd9
Update self-hosted-gitlab.md
guritfaq Jan 14, 2024
758c852
blog: modern ai stack for devs
gitcommitshow Jan 5, 2024
d5c42f9
citation: codex model use in gh copilot
gitcommitshow Jan 5, 2024
b4efe86
fix: gh citation link
gitcommitshow Jan 5, 2024
26ae895
fix: typo
gitcommitshow Jan 5, 2024
cc70c22
fix: typo
gitcommitshow Jan 5, 2024
5992c58
Update index.md
guritfaq Jan 23, 2024
a38fb93
founderblogmissing
guritfaq Jan 25, 2024
9a7f9cc
Remove markdown file
karan925 Jan 25, 2024
ad174bf
Update CodeRabbit description and add privacy and security information
karan925 Jan 25, 2024
c11119f
Update link in introduction.md
karan925 Jan 25, 2024
8bb8509
nit
guritfaq Jan 25, 2024
7ac40ec
Add new images and delete old image files
karan925 Jan 29, 2024
feb4945
Update self-hosted-gitlab.md
guritfaq Feb 8, 2024
4f7c49f
Update customize-coderabbit.md
guritfaq Feb 8, 2024
77c3494
Update self-hosted-gitlab.md
guritfaq Feb 10, 2024
e3401f6
Update customize-coderabbit.md
guritfaq Feb 17, 2024
d14ec26
format blog file
harjotgill Mar 2, 2024
ff65901
format all blog files
harjotgill Mar 2, 2024
64b3808
hide version 1 schema
harjotgill Mar 1, 2024
8073a01
Update faq.md
guritfaq Mar 7, 2024
533af1e
Fix images for light and dark mode. Made improvements to docs (#22)
karan925 Mar 12, 2024
bb33250
Add ast-grep documentation page
petrisorcoderabbit Mar 8, 2024
555f1b3
Update the ast-grep documentation to include the coderabbit config fi…
petrisorcoderabbit Mar 8, 2024
6ff0b6f
Fix language review
petrisorcoderabbit Mar 11, 2024
7e94e24
Update coderabbit.yaml schema for ast-grep tool naming
petrisorcoderabbit Mar 12, 2024
69ad5db
Update coderabbig guide page with new coderabbit.yaml changes
petrisorcoderabbit Mar 12, 2024
2b93fa1
Update 2023-11-13-boosting-engineering-efficiency.md
guritfaq Mar 12, 2024
e95932f
Move ast-grep documentation under the prompt-customization page
petrisorcoderabbit Mar 13, 2024
02fb676
Change ast-grep naming
petrisorcoderabbit Mar 13, 2024
bfbeb10
Correct grammar for ast-grep documentation
petrisorcoderabbit Mar 13, 2024
907acba
update faqs
karan925 Mar 12, 2024
75cd0b6
restructure existing blog posts
harjotgill Mar 17, 2024
f40402a
Add ast-grep documentation page
petrisorcoderabbit Mar 8, 2024
afc74b9
Update the ast-grep documentation to include the coderabbit config fi…
petrisorcoderabbit Mar 8, 2024
376b918
Fix language review
petrisorcoderabbit Mar 11, 2024
d8c6d90
Update coderabbit.yaml schema for ast-grep tool naming
petrisorcoderabbit Mar 12, 2024
174f510
Move ast-grep documentation under the prompt-customization page
petrisorcoderabbit Mar 13, 2024
e36c04b
restructure existing docs
harjotgill Mar 17, 2024
4d1ce4a
review feedback
harjotgill Mar 17, 2024
05a1cf1
add preview image
harjotgill Mar 17, 2024
1b14bb0
use directory instead of folder terminology
harjotgill Mar 17, 2024
4472fbc
nit
harjotgill Mar 17, 2024
31043f7
add disqus comments
harjotgill Mar 17, 2024
154f910
fix admonitions
harjotgill Mar 17, 2024
69bf8c8
add fn acquisition blog (#27)
harjotgill Mar 17, 2024
0b206a4
update preview image
harjotgill Mar 17, 2024
4026e5c
update preview image
harjotgill Mar 17, 2024
b04bb86
minor update to the FAQ
harjotgill Mar 18, 2024
20ccaf0
Daily Standup Reporting Docs (#28)
Spikatrix Mar 19, 2024
1ddc296
Add packages section and update existing docs for ast-grep (#29)
petrisorcoderabbit Mar 22, 2024
7c0e821
updateschemaexample (#31)
guritfaq Mar 25, 2024
a2c5390
minorchanges (#32)
guritfaq Mar 25, 2024
ff0241b
updatefaq
guritfaq Mar 26, 2024
4f6b57b
FAQs
guritfaq Mar 26, 2024
69701dd
doc fixes (#33)
harjotgill Mar 26, 2024
654c2f4
fix path instructions example
harjotgill Mar 28, 2024
34e75c3
change the default example for coderabbit yaml
harjotgill Mar 28, 2024
f2dceee
Blog - AI Code Reviews (#36)
guritfaq Mar 29, 2024
436179d
update example
harjotgill Mar 30, 2024
eed94ff
blog home page
harjotgill Apr 3, 2024
22af9a8
blog featured posts
harjotgill Apr 3, 2024
e0304d2
AdminAccessToken
guritfaq Apr 4, 2024
4ca41ce
FixCasing
guritfaq Apr 4, 2024
8d52595
updatecasing
guritfaq Apr 4, 2024
6e9350e
update docs
harjotgill Apr 7, 2024
429d8d9
update schema
harjotgill Apr 7, 2024
9f11153
remove daily standup guide
harjotgill Apr 15, 2024
a720cb7
Update YAML settings in configure-coderabbit.md (#40)
hasit Apr 18, 2024
94aeaaa
update pricing
harjotgill Apr 21, 2024
ba3e35e
remove pnpm
harjotgill Apr 21, 2024
08cdcbe
ast-grep update
harjotgill Apr 21, 2024
7845092
update knowledge_base settings
harjotgill Apr 22, 2024
b38424f
mention ast-grep-essentials
harjotgill Apr 22, 2024
c905756
add review.profile to docs
harjotgill Apr 22, 2024
6d823bd
update review status
harjotgill Apr 23, 2024
7d380fa
revert review status change
harjotgill Apr 23, 2024
139a917
add quotes
harjotgill Apr 29, 2024
fa74e88
minor
harjotgill May 2, 2024
a65da37
improve config docs
harjotgill May 9, 2024
f7402d4
add playground link
harjotgill May 10, 2024
2c3f4a0
placeholder for high-level summary
harjotgill May 11, 2024
7ab287f
remove v1 config documentation
harjotgill May 11, 2024
3495248
remove ignore title example
harjotgill May 11, 2024
530acb0
remove ignore title example
harjotgill May 11, 2024
826beb8
UpatePauseCommandMessage
guritfaq May 16, 2024
2f21f51
update docs
harjotgill May 22, 2024
006a15c
Update introduction.md
guritfaq May 23, 2024
6933e31
Add config for biome and hadolint (#43)
hasit May 23, 2024
8730b48
update auto_incremental_review
harjotgill May 25, 2024
415c56c
improve config docs
harjotgill May 27, 2024
e8ff3c1
chore: Update CodeRabbit configuration settings (#44)
hasit May 29, 2024
1d5c297
chore: Add config for new tools (#45)
hasit Jun 3, 2024
8fadbaa
UpdateDataPrivacy
guritfaq Jun 4, 2024
28c2abd
chore: Update SwiftLint configuration file path (#47)
hasit Jun 5, 2024
d3d8b6a
Update self hosted onboarding guide
petrisorcoderabbit Jun 7, 2024
5a6b336
update auto title
harjotgill Jun 9, 2024
9c6f5cf
update phpstan instructions
harjotgill Jun 10, 2024
678216a
Update npm dependencies and add docusaurus-json-schema-plugin (#49)
hasit Jun 14, 2024
a527fc5
Update faqs typos (#51)
karan925 Jun 17, 2024
8c8162b
update docs
harjotgill Jun 18, 2024
d10046a
Create initial Gitlab Saas integration page
petrisorcoderabbit Jun 19, 2024
16b5f88
Update GitLab page content on the how to section with a note
petrisorcoderabbit Jun 19, 2024
4ae6960
add tip
harjotgill Jun 26, 2024
a9eace3
update limits
harjotgill Jun 27, 2024
ebaa1cf
📝 Add Documentation for Deleting Account (#55)
karan925 Jun 27, 2024
9847324
On-demand report generation docs (#56)
Spikatrix Jul 9, 2024
a55b5d1
Add linter documentation (#59)
hasit Jul 15, 2024
63f51d3
Update tool configuration documentation (#60)
hasit Jul 15, 2024
3b2576d
Update Gitleaks documentation (#61)
hasit Jul 15, 2024
0f312bf
Update introduction.md and add video (#62)
hasit Jul 15, 2024
231e38a
Add table for Supported Tools by languages (#63)
hasit Jul 16, 2024
dc7179d
Update introduction and CodeRabbit documentation (#64)
hasit Jul 17, 2024
24801d8
Update default settings for CodeRabbit tools (#65)
hasit Jul 17, 2024
e5e33a0
feat: added docs for detekt and eslint (#67)
cr-ruhanmuzaffar Jul 18, 2024
3c1af49
Add segment script and update iframe attributes for YouTube video pla…
hasit Jul 19, 2024
58519eb
Improve Documentation Structure and Accessibility in Markdown Files (…
hasit Jul 20, 2024
9dbdc24
Self-Hosted GitHub onboarding docs (#66)
Spikatrix Jul 22, 2024
a9210c6
Add step to install GitHub App for Self-Hosted (#70)
Spikatrix Jul 24, 2024
3d93378
Remove ESLint from JavaScript tools documentation (#71)
hasit Jul 26, 2024
e2efc2a
Add supported git platforms page in documentation (#72)
hasit Jul 29, 2024
6961118
added yaml editor (#74)
cr-ruhanmuzaffar Aug 9, 2024
670882d
Feature yaml editor (#76)
cr-ruhanmuzaffar Aug 16, 2024
56a09eb
Update schema.v2.json
github-actions[bot] Aug 29, 2024
3d5156d
🎨 Run Markdownlint and Prettier (#84)
NatoBoram Aug 29, 2024
4d6f0c8
added correct scopes (#88)
dikshant-infracloud Aug 30, 2024
a9d57be
Add Azure DevOps initial docs page
petrisorcoderabbit Aug 31, 2024
d214b38
Update Azure DevOps
guritfaq Sep 1, 2024
6e7ab40
add redirect
guritfaq Sep 1, 2024
ea198f7
rename AzureDevOps page
guritfaq Sep 1, 2024
d84bbed
SaaS GitLab change to Gitlab.com and added relevant redirect Update G…
aravindputrevu Sep 9, 2024
e434cc0
Azure DevOps Server Support
guritfaq Sep 24, 2024
a8dad85
Update platforms.md
NickBusey Oct 3, 2024
aaab99e
Remove segment (#104)
hasit Oct 10, 2024
691b19e
update: introduction and added a CTA
tyaga001 Oct 11, 2024
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
15 changes: 15 additions & 0 deletions docs/guides/review-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,21 @@ reviews:

## Abstract Syntax Tree (AST) based instructions {#ast-based}

CodeRabbit offers review instructions based on Abstract Syntax Tree (AST)
patterns. Under the hood, CodeRabbit uses
[`ast-grep`](https://ast-grep.github.io) to power this feature. `ast-grep` is
written in Rust and uses the tree-sitter parser to generate the AST for popular
languages. `ast-grep` is written and maintained by
[Herrington Darkholme](https://twitter.com/hd_nvim).

:::tip

`ast-grep` Playground is quite effective in designing and testing AST rules on
source code snippets. You can access the playground
[here](https://ast-grep.github.io/playground.html).

:::

:::note

The additional context provided by this feature is only available during the
Expand Down
98 changes: 52 additions & 46 deletions docs/introduction.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,63 @@
---
id: introduction
title: Introduction
id: Get Started
title: Get Started
sidebar_label: Introduction
sidebar_position: 1
description:
CodeRabbit is an innovative, AI-powered code reviewer. It provides context-aware
review feedback on a pull request within minutes, thereby significantly
reducing the time and effort associated with manual code reviews.
CodeRabbit is an AI-powered code reviewer offering real-time, context-aware
feedback on pull requests, reducing manual effort in code reviews.
slug: "/"
---
## What is CodeRabbit?

>**CodeRabbit** is an AI-powered code reviewer that delivers context-aware feedback on pull requests within minutes, reducing the time and effort needed for manual code reviews. It provides a fresh perspective and catches issues that are often missed, enhancing the overall review quality.

Developers can interact directly with the bot within the code, offering additional context, asking questions, or even having the bot generate code. Over time, **CodeRabbit** learns from user input and improves its suggestions.

:::tip
> See CodeRabbit in action and watch the demo video below to see how it delivers real-time, context-aware feedback on your pull requests in just a few minutes.
:::

<div class="video-container">
<iframe src="https://www.youtube.com/embed/3SyUOSebG7E?si=i0oT9RAnH0PW81lY" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen></iframe>
</div>

**CodeRabbit** is an innovative, AI-powered code reviewer. It provides
context-aware review feedback on a pull request within minutes, thereby
significantly reducing the time and effort associated with manual code reviews.
Additionally, it brings a different perspective to the reviews and finds issues
often missed by the human eye. Developers can chat with the bot within the code,
which allows them to provide additional context, ask questions, or have the bot
generate code. It learns from your suggestions and gets better over time.

**CodeRabbit** seamlessly integrates with GitHub and GitLab repositories,
performing continuous, incremental reviews for each commit within a pull
request. Review feedback is sent back to the pull requests and can be directly
committed.

**CodeRabbit** integrates into code repositories using GitHub or GitLab webhooks
and monitors events related to Pull Request (PR) and Merge Request (MR) changes.
A comprehensive review is performed when a PR or MR is created, and for
incremental commits and comments addressed to the bot. The feedback is then sent
directly back to the PR or MR.

![CodeRabbit Flow](/img/about/coderabbit-flow.png)

## Data, Privacy, and Security

**CodeRabbit** does not use data collected during code reviews to train or
influence the models. Queries to the Large Language Models (LLMs) are ephemeral
and there is zero retention on LLMs. Neither we nor the LLMs provider(s) share
any data collected during the code review process with third parties.

Data storage: Code downloaded during the review process is temporarily stored in
memory and deleted once the review is completed. The code is not stored or used for
any other purpose. However, CodeRabbit enhances future reviews for your organization by
storing the embeddings of the learnings generated from chat conversations. Additionally,
it integrates embeddings from issues in workflow systems (Linear, Jira, GitHub/GitLab issues)
to assess the impact of code changes on existing issues.

Compliance and Data Privacy: Your data is kept confidential, isolated by the
organization, and used only to improve your organization reviews. Data storage
complies with SOC2 Type II and GDPR standards.

Opting Out: You can choose to opt out of data storage at any time. Opting out
won't affect your access but will limit the personalization of the reviews.
## Integration with GitHub and GitLab

>**CodeRabbit** integrates with both GitHub and GitLab repositories to deliver continuous and incremental reviews for each commit in a pull request (PR) or merge request (MR). Review feedback is automatically sent back to the PR/MR and can be committed directly.

It works via GitHub/GitLab webhooks, monitoring Pull Request (PR) and Merge Request (MR) events. A comprehensive review is performed when a PR or MR is created, and for
incremental commits and comments addressed to the bot. The feedback is then sent directly back to the Pull Request or Merge Request.

![CodeRabbit Code Review Flow showing how AI integrates with GitHub and GitLab for continuous pull request feedback.](/img/about/coderabbit-flow.png "CodeRabbit Code Review Flow")

## Data Privacy and Security

>**CodeRabbit** does not use data collected from code reviews to train or influence its models. All queries to Large Language Models (LLMs) are ephemeral, with zero retention. No data is shared with third parties.

- **Temporary Storage**: Code is temporarily stored in memory during the review process and deleted afterward.
- **Stored Embeddings**: While the code itself isn’t stored, **CodeRabbit** stores embeddings based on chat conversations and workflow systems (Linear, Jira, GitHub/GitLab issues) to improve future reviews.
- **Compliance**: All data is kept confidential, isolated by organization, and complies with **SOC2 Type II** and **GDPR** standards.

### Opting Out

You can opt out of data storage at any time without affecting your access to **CodeRabbit**.
:::warning
However, opting out may reduce the level of personalized review feedback.
:::

## Try CodeRabbit Now

>Ready to experience **CodeRabbit** in action?

:::tip
For open source projects CodeRabbit Pro is **_FREE_**, forever.
- No credit card required
- Unlimited public repositories
:::

<div style={{textAlign: 'left', marginTop: '20px'}}>
<a href="https://app.coderabbit.ai/login" className="button button--primary button--lg">Start reviewing PR Now</a>
</div>
Comment on lines +49 to +61
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Effective "Try CodeRabbit Now" section with clear CTA

The new "Try CodeRabbit Now" section is a great addition that aligns with the PR objective of adding a CTA. It effectively encourages users to try the product, highlighting the free offering for open source projects. The CTA button is clear and prominent.

There's a minor formatting issue with the list items. To fix this, add a blank line before the list:

 For open source projects CodeRabbit Pro is **_FREE_**, forever.
 - No credit card required
 - Unlimited public repositories
+
 :::

This change will ensure proper rendering of the list items in the final output.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## Try CodeRabbit Now
>Ready to experience **CodeRabbit** in action?
:::tip
For open source projects CodeRabbit Pro is **_FREE_**, forever.
- No credit card required
- Unlimited public repositories
:::
<div style={{textAlign: 'left', marginTop: '20px'}}>
<a href="https://app.coderabbit.ai/login" className="button button--primary button--lg">Start reviewing PR Now</a>
</div>
## Try CodeRabbit Now
>Ready to experience **CodeRabbit** in action?
:::tip
For open source projects CodeRabbit Pro is **_FREE_**, forever.
- No credit card required
- Unlimited public repositories
:::
<div style={{textAlign: 'left', marginTop: '20px'}}>
<a href="https://app.coderabbit.ai/login" className="button button--primary button--lg">Start reviewing PR Now</a>
</div>
🧰 Tools
🪛 LanguageTool

[uncategorized] ~54-~54: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...e CodeRabbit in action? :::tip For open source projects CodeRabbit Pro is FREE, ...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

🪛 Markdownlint

55-55: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)


56-56: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)



26 changes: 26 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,23 @@ const config: Config = {
// blogPostComponent: "@theme/BlogPostPage",
// },
//],
[
"./plugins/blog-plugin",
{
id: "blog",
routeBasePath: "blog",
path: "./blog",
blogTitle: "CodeRabbit Blog",
blogDescription: "Blog",
tagsBasePath: "/tags",
editLocalizedFiles: false,
showReadingTime: true,
blogSidebarCount: "ALL",
blogSidebarTitle: "All our posts",
blogListComponent: "@theme/BlogListPage",
blogPostComponent: "@theme/BlogPostPage",
},
],
[
"@docusaurus/plugin-client-redirects",
{
Expand Down Expand Up @@ -97,6 +114,11 @@ const config: Config = {
from: "/platforms/self-hosted-github",
to: "/platforms/github-enterprise-server",
},
{
from: "/platforms/saas-azure-devops",
to: "/platforms/azure-devops",
},

],
},
],
Expand Down Expand Up @@ -147,6 +169,10 @@ const config: Config = {
"https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",
"/docs/js/code-block-buttons.js",
"https://cdnjs.cloudflare.com/ajax/libs/axios/1.2.1/axios.min.js",
{
src: "/js/segment.js",
async: false,
},
{
src: "https://js.hs-scripts.com/43613284.js",
type: "text/javascript",
Expand Down
61 changes: 61 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,64 @@ a[docid="docs"] > svg {
width: 100%;
height: 100%;
}

.navbar .navbar__item {
align-items: center;
display: flex;
font-size: 1.25rem;
font-weight: 700;
}

a[docid="docs"] > svg {
display: none;
}

/* Adjustments for mobile view */
@media (max-width: 768px) {
/* Reduce the logo size for smaller screens */
.navbar__logo img {
height: 32px;
align-items: center;
}

/* Reduce the padding around the logo for smaller screens */
.navbar__logo {
padding: 2px; /* Adjust the padding for smaller screens */
}
}

/* Center the Discord link within its parent */
.navbar__items.navbar__items--right {
display: flex;
justify-content: center;
align-items: center;
}

@media screen and (max-width: 480px) {
a.navbar__item.navbar__link[docid="docs"] {
display: none !important;
}
}

@media screen and (max-width: 480px) {
a.navbar__item.navbar__link[href="https://blog.coderabbit.ai/blog"]
{
display: none;
}
}

/* Light mode Discord icon */
/* .header-discord-link:before {
-webkit-filter: invert(100%);
filter: invert(100%);
content: "";
display: flex;
height: 16px;
width: 20px;
} */

/* Dark mode Discord icon */
/* .header-discord-link:before {
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='20' viewBox='0 0 640 512'%3E%3Cpath fill='%23FFFFFF' d='M524.5 69.8a1.5 1.5 0 0 0 -.8-.7A485.1 485.1 0 0 0 404.1 32a1.8 1.8 0 0 0 -1.9 .9 337.5 337.5 0 0 0 -14.9 30.6 447.8 447.8 0 0 0 -134.4 0 309.5 309.5 0 0 0 -15.1-30.6 1.9 1.9 0 0 0 -1.9-.9A483.7 483.7 0 0 0 116.1 69.1a1.7 1.7 0 0 0 -.8 .7C39.1 183.7 18.2 294.7 28.4 404.4a2 2 0 0 0 .8 1.4A487.7 487.7 0 0 0 176 479.9a1.9 1.9 0 0 0 2.1-.7A348.2 348.2 0 0 0 208.1 430.4a1.9 1.9 0 0 0 -1-2.6 321.2 321.2 0 0 1 -45.9-21.9 1.9 1.9 0 0 1 -.2-3.1c3.1-2.3 6.2-4.7 9.1-7.1a1.8 1.8 0 0 1 1.9-.3c96.2 43.9 200.4 43.9 295.5 0a1.8 1.8 0 0 1 1.9 .2c2.9 2.4 6 4.9 9.1 7.2a1.9 1.9 0 0 1 -.2 3.1 301.4 301.4 0 0 1 -45.9 21.8 1.9 1.9 0 0 0 -1 2.6 391.1 391.1 0 0 0 30 48.8 1.9 1.9 0 0 0 2.1 .7A486 486 0 0 0 610.7 405.7a1.9 1.9 0 0 0 .8-1.4C623.7 277.6 590.9 167.5 524.5 69.8zM222.5 337.6c-29 0-52.8-26.6-52.8-59.2S193.1 219.1 222.5 219.1c29.7 0 53.3 26.8 52.8 59.2C275.3 311 251.9 337.6 222.5 337.6zm195.4 0c-29 0-52.8-26.6-52.8-59.2S388.4 219.1 417.9 219.1c29.7 0 53.3 26.8 52.8 59.2C470.7 311 447.5 337.6 417.9 337.6z'/%3E%3C/svg%3E")
no-repeat;
} */
13 changes: 13 additions & 0 deletions static/schema/schema.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,19 @@
"additionalProperties": false,
"default": {}
},
"pull_requests": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": ["local", "global", "auto"],
"default": "auto",
"description": "Pull Requests | Specify the scope of pull requests to use for the knowledge base. 'local' uses the repository's pull requests, 'global' uses the organization's pull requests, and 'auto' uses repository's pull requests for public repositories and organization's pull requests for private repositories."
}
},
"additionalProperties": false,
"default": {}
},
"pull_requests": {
"type": "object",
"properties": {
Expand Down