File tree Expand file tree Collapse file tree 3 files changed +1708
-11
lines changed Expand file tree Collapse file tree 3 files changed +1708
-11
lines changed Original file line number Diff line number Diff line change 1414 "write-heading-ids" : " docusaurus write-heading-ids"
1515 },
1616 "dependencies" : {
17+ "@cookbookdev/docsbot" : " ^4.21.5" ,
1718 "@docusaurus/core" : " 3.0.1" ,
1819 "@docusaurus/preset-classic" : " 3.0.1" ,
1920 "@mdx-js/react" : " ^3.0.0" ,
Original file line number Diff line number Diff line change 1+ import React from "react" ;
2+ import AskCookbook from "@cookbookdev/docsbot/react" ;
3+
4+ // It's a public API key, so it's fine to just hardcode it here
5+ const COOKBOOK_API_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NWVmYWQ0ZGViNTUzM2NmODA2OTEzNTAiLCJpYXQiOjE3MTAyMDYyODUsImV4cCI6MjAyNTc4MjI4NX0.On3TXz2PyBdt-JnPaoPSm4MqbLJrliKCRPzjUClCGRM"
6+
7+ export default function SearchBarWrapper ( props ) {
8+ return (
9+ < >
10+ < AskCookbook apiKey = { COOKBOOK_API_KEY } />
11+ </ >
12+ ) ;
13+ }
You can’t perform that action at this time.
0 commit comments