Skip to content

Commit

Permalink
Merge pull request #1640 from ManishMadan2882/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dartpain authored Feb 18, 2025
2 parents 67e37f1 + 13cd221 commit 586fc80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/pages/Extensions/chat-widget.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ The DocsGPT Widget offers a range of customizable properties that allow you to t
| **`buttonIcon`** | `string` | `"https://your-icon"` | URL for the icon image used in the widget's launch button. |
| **`buttonBg`** | `string` | `"#222327"` | Background color of the widget's launch button. |
| **`size`** | `"small" \| "medium"` | `"medium"` | Size of the widget. Options: `"small"` or `"medium"`. Defaults to `"medium"`. |
| **`showSources`** | `boolean` | `false` | Enables displaying source URLs for data fetched within the widget. When set to `true`, the widget will show the original sources of the fetched data. |

---

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/_app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function MyApp({ Component, pageProps }) {
return (
<>
<Component {...pageProps} />
<DocsGPTWidget apiKey="d61a020c-ac8f-4f23-bb98-458e4da3c240" theme="dark" size="medium" />
<DocsGPTWidget showSources={true} apiKey="bae7004a-2344-4882-9e2f-259128e78843" theme="dark" size="medium" />
</>
)
}

0 comments on commit 586fc80

Please sign in to comment.