Skip to content

Commit 3d007e8

Browse files
committed
add disqus comments
1 parent a8efe68 commit 3d007e8

File tree

16 files changed

+150
-226
lines changed

16 files changed

+150
-226
lines changed

blog/boosting-engineering-efficiency-2023-11-13/blog.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ description:
77
authors: [dotlabs]
88
image: ./preview.jpeg
99
tags: ["AI", "Code Reviews", "Remote Work"]
10-
hide_table_of_contents: false
11-
aiDisclaimer: true
1210
---
1311

1412
## Introduction

blog/coderabbit-deep-dive-2023-08-26/blog.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ description: AI and the Future of Code Reviews - A Deep Dive into CodeRabbit
55
authors: [gur, vishu]
66
tags: ["CodeRabbit", "AI", "Code Reviews"]
77
image: ./preview.jpeg
8-
hide_table_of_contents: false
98
---
109

1110
We are witnessing an inflection point in the software development industry.

blog/how-we-built-cost-effective-generative-ai-application-2023-12-23/blog.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ description:
66
effective and improve user experience.
77
authors: [gur]
88
tags: ["AI", "Cost Optimization", "Generative AI", "Code Review"]
9-
hide_table_of_contents: false
10-
aiDisclaimer: true
119
---
1210

1311
# How we built a cost-effective Generative AI application

blog/modern-ai-stack-for-developer-productivity-2024-01-05/blog.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ description:
77
image: ./preview.jpg
88
authors: [pradeep]
99
tags: ["AI", "Developer Tools", "Code Generation", "Code Review", "Knowledge"]
10-
hide_table_of_contents: false
11-
aiDisclaimer: true
1210
---
1311

1412
The 'modern AI stack for developer productivity' refers to a comprehensive set

blog/openai-rate-limits-2023-10-23/blog.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ description:
99
authors: [gur, sumanvs, nato]
1010
image: ./preview.png
1111
tags: ["AI", "OpenAI", "Rate Limits", "Aperture"]
12-
hide_table_of_contents: false
13-
aiDisclaimer: true
1412
---
1513

1614
```mdx-code-block

docusaurus.config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const baseUrl = "/";
77

88
const config: Config = {
99
title: "CodeRabbit",
10-
staticDirectories: ["public", "static"],
10+
staticDirectories: ["static"],
1111
tagline: "AI-powered Code Reviews",
1212
favicon: "img/favIcon.png",
1313

@@ -19,11 +19,12 @@ const config: Config = {
1919

2020
// GitHub pages deployment config.
2121
// If you aren't using GitHub pages, you don't need these.
22-
organizationName: "facebook", // Usually your GitHub org/user name.
23-
projectName: "docusaurus", // Usually your repo name.
22+
organizationName: "coderabbit", // Usually your GitHub org/user name.
23+
projectName: "coderabbit-docs", // Usually your repo name.
2424

2525
onBrokenLinks: "throw",
26-
onBrokenMarkdownLinks: "warn",
26+
onBrokenMarkdownLinks: "throw",
27+
onDuplicateRoutes: "warn",
2728

2829
// Even if you don't use internationalization, you can use this field to set
2930
// useful metadata like html lang. For example, if your site is Chinese, you

package-lock.json

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@mdx-js/react": "^3.0.0",
2323
"autoprefixer": "^10.4.16",
2424
"clsx": "^2.0.0",
25+
"disqus-react": "^1.1.5",
2526
"postcss": "^8.4.32",
2627
"prism-react-renderer": "^2.3.0",
2728
"react": "^18.0.0",
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import React from "react";
2+
import "./style.css";
3+
import WriteIcon from "@site/static/img/write-icon.svg";
4+
5+
type AiDisclaimerProps = {};
6+
7+
export const AiDisclaimer: React.FC<AiDisclaimerProps> = (props) => {
8+
return (
9+
<div className="ai-disclaimer-wrapper">
10+
<div className="ai-disclaimer-container">
11+
<WriteIcon className="ai-disclaimer-icon" />
12+
<div className="ai-disclaimer-content">
13+
<div className="ai-disclaimer-title">Disclaimer</div>
14+
<div className="ai-disclaimer-description">
15+
This piece has been written by humans; it has also been reviewed and
16+
approved by humans. However, there was a touch of AI: it assisted us
17+
in correcting grammar, enhancing syntax, and improving sentence
18+
clarity. Thanks for reading!
19+
</div>
20+
</div>
21+
</div>
22+
</div>
23+
);
24+
};

src/components/AiDisclaimer/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from "./AiDisclaimer";

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy