Skip to content

Commit

Permalink
add ai chat
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Dec 4, 2024
1 parent 598a1a0 commit 39e30c7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
cache: npm

- name: Install dependencies
Expand Down
28 changes: 25 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ const config = {
additionalLanguages: ['json', 'diff'],
},
inkeepConfig: {
chatButtonType: 'icon', // RECTANGLE_SHORTCUT, ICON, or PILL
chatButtonType: 'PILL', // RECTANGLE_SHORTCUT, ICON, or PILL
baseSettings: {
// see https://docusaurus.io/docs/deployment#using-environment-variables to use docusaurus environment variables
apiKey: process.env.INKEEP_API_KEY, // required
Expand All @@ -340,9 +340,31 @@ const config = {
}
},
aiChatSettings: {
chatSubjectName: "Fiber",
// optional settings
botAvatarSrcUrl: "img/logo.svg", // optional -- use your own bot avatar
botAvatarDarkSrcUrl: "img/logo-dark.svg", // optional -- use your own bot avatar
botAvatarSrcUrl: "/img/logo.svg", // optional -- use your own bot avatar
botAvatarDarkSrcUrl: "/img/logo-dark.svg", // optional -- use your own bot avatar
getHelpCallToActions: [
{
name: "Discord",
url: "https://gofiber.io/discord",
icon: {
builtIn: "FaDiscord"
}
},
{
name: "GitHub",
url: "https://github.com/gofiber/fiber",
icon: {
builtIn: "FaGithub"
}
}
],
quickQuestions: [
"How to create custom error handler?",
"How can I use live reload?",
"Which template engines does Fiber support?"
]
},
},
}),
Expand Down

0 comments on commit 39e30c7

Please sign in to comment.