Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commita471693

Browse files
Add AI Chat settings and integration for CodeRabbit in Docusaurus config
1 parent920435a commita471693

File tree

4 files changed

+1736
-27
lines changed

4 files changed

+1736
-27
lines changed

‎.github/workflows/node.js.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
cache:pnpm
2727
-run:pnpm install --frozen-lockfile --strict-peer-dependencies
2828
-run:pnpm run build
29+
env:
30+
API_KEY:${{ secrets.INKEEP_API_KEY }}
2931
-run:pnpm run lint
3032

3133
fix:

‎docusaurus.config.ts‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,48 @@ const config: Config = {
126126
},
127127
}
128128
},
129+
[
130+
"@inkeep/cxkit-docusaurus",
131+
{
132+
SearchBar:{
133+
baseSettings:{
134+
apiKey:process.env.INKEEP_API_KEY,
135+
primaryBrandColor:"#FF570A",
136+
},
137+
aiChatSettings:{
138+
chatSubjectName:"CodeRabbit",
139+
aiAssistantAvatar:"https://www.coderabbit.ai/favicon.ico",
140+
getHelpOptions:[
141+
{
142+
name:"Discord",
143+
icon:{
144+
builtIn:"FaDiscord",
145+
},
146+
action:{
147+
type:"open_link",
148+
url:"https://discord.gg/coderabbit",
149+
},
150+
},
151+
{
152+
name:"Contact Us",
153+
icon:{
154+
builtIn:"IoChatbubblesOutline",
155+
},
156+
action:{
157+
type:"open_link",
158+
url:"https://www.coderabbit.ai/contact-us",
159+
},
160+
},
161+
],
162+
exampleQuestions:[
163+
"What is CodeRabbit?",
164+
"How to integrate CodeRabbit with GitHub?",
165+
"How to set up a AI Code Review?",
166+
],
167+
},
168+
},
169+
},
170+
],
129171
],
130172

131173
presets:[

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"@docusaurus/plugin-client-redirects":"^3.6.1",
2424
"@docusaurus/plugin-content-blog":"^3.6.1",
2525
"@docusaurus/preset-classic":"^3.6.1",
26+
"@inkeep/cxkit-docusaurus":"^0.5.52",
2627
"@mdx-js/react":"^3.1.0",
2728
"autoprefixer":"^10.4.20",
2829
"clsx":"^2.1.1",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp