Skip to content

Commit c0fe244

Browse files
committed
feat: Biel-AI-based search
1 parent 9626a27 commit c0fe244

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ module.exports = {
135135
'docusaurus-biel',{
136136
project: 'zat23cvkm1',
137137
headerTitle: 'Biel.ai chatbot',
138-
version: 'latest'
138+
version: 'latest',
139+
enable: false,
139140
}
140141
],
141142
'docusaurus-plugin-image-zoom',

src/theme/SearchBar.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import React from 'react';
2+
3+
export default function SearchBar() {
4+
// Replace with your <PROJECT_ID>
5+
const projectId = 'zat23cvkm1';
6+
const headerTitle = 'Documentation chatbot';
7+
// @ts-ignore: Not a React component
8+
return <biel-search-button project={projectId} button-style="rounded" header-title={headerTitle}>Search</biel-search-button>;
9+
}

0 commit comments

Comments
 (0)