diff --git a/docusaurus.config.js b/docusaurus.config.js index 1cf94cc3a5..844cc5ac35 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -131,6 +131,14 @@ module.exports = { ], ]), plugins: [ + [ + 'docusaurus-biel', { + project: 'zat23cvkm1', + headerTitle: 'Biel.ai chatbot', + version: 'latest', + enable: false, + }, + ], 'docusaurus-plugin-image-zoom', [ '@docusaurus/plugin-content-docs', diff --git a/package-lock.json b/package-lock.json index d8076bcdcf..93cb97f40b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,6 +28,7 @@ "@signalwire/docusaurus-plugin-llms-txt": "^1.2.1", "ajv": "^8.17.1", "clsx": "^2.0.0", + "docusaurus-biel": "^1.0.8", "docusaurus-plugin-image-zoom": "^3.0.1", "docusaurus-plugin-openapi-docs": "^4.3.7", "docusaurus-theme-openapi-docs": "^4.3.7", @@ -74,7 +75,7 @@ }, "apify-docs-theme": { "name": "@apify/docs-theme", - "version": "1.0.203", + "version": "1.0.207", "license": "ISC", "dependencies": { "@apify/docs-search-modal": "^1.2.2", @@ -11740,6 +11741,15 @@ "node": ">=0.10.0" } }, + "node_modules/docusaurus-biel": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/docusaurus-biel/-/docusaurus-biel-1.0.8.tgz", + "integrity": "sha512-/0Di34OijQWfU8JO+lGud4GmOtja21EEEGjg4r1BjxVwBykewV6NN/fvwuT/4Y7b1KM2Zzuyd3s1oGg1Il55rA==", + "license": "MIT", + "peerDependencies": { + "@docusaurus/core": "3.x" + } + }, "node_modules/docusaurus-gtm-plugin": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/docusaurus-gtm-plugin/-/docusaurus-gtm-plugin-0.0.2.tgz", diff --git a/package.json b/package.json index a4aa7ff682..2a21d75913 100644 --- a/package.json +++ b/package.json @@ -82,6 +82,7 @@ "@signalwire/docusaurus-plugin-llms-txt": "^1.2.1", "ajv": "^8.17.1", "clsx": "^2.0.0", + "docusaurus-biel": "^1.0.8", "docusaurus-plugin-image-zoom": "^3.0.1", "docusaurus-plugin-openapi-docs": "^4.3.7", "docusaurus-theme-openapi-docs": "^4.3.7", diff --git a/src/theme/SearchBar.tsx b/src/theme/SearchBar.tsx new file mode 100644 index 0000000000..364ac82531 --- /dev/null +++ b/src/theme/SearchBar.tsx @@ -0,0 +1,9 @@ +import React from 'react'; + +export default function SearchBar() { + // Replace with your + const projectId = 'zat23cvkm1'; + const headerTitle = 'Documentation chatbot'; + // @ts-expect-error: Not a React component + return Search; +}