diff --git a/docs/my-website/package.json b/docs/my-website/package.json index f0f09a365ed..b6ad649e624 100644 --- a/docs/my-website/package.json +++ b/docs/my-website/package.json @@ -18,7 +18,6 @@ "@docusaurus/plugin-google-gtag": "^2.4.1", "@docusaurus/plugin-ideal-image": "^2.4.1", "@docusaurus/preset-classic": "2.4.1", - "@getcanary/web": "^1.0.9", "@mdx-js/react": "^1.6.22", "clsx": "^1.2.1", "docusaurus": "^1.14.7", diff --git a/docs/my-website/src/theme/SearchBar.js b/docs/my-website/src/theme/SearchBar.js deleted file mode 100644 index 1110583ccb1..00000000000 --- a/docs/my-website/src/theme/SearchBar.js +++ /dev/null @@ -1,86 +0,0 @@ -import React from "react"; -import SearchBar from "@theme-original/SearchBar"; - -export default function SearchBarWrapper(props) { - const [loaded, setLoaded] = React.useState(false); - - React.useEffect(() => { - Promise.all([ - import("@getcanary/web/components/canary-root"), - import("@getcanary/web/components/canary-provider-cloud"), - import("@getcanary/web/components/canary-modal"), - import("@getcanary/web/components/canary-trigger-logo"), - import("@getcanary/web/components/canary-input"), - import("@getcanary/web/components/canary-content"), - import("@getcanary/web/components/canary-search"), - import("@getcanary/web/components/canary-search-results"), - import("@getcanary/web/components/canary-search-match-github-issue"), - import("@getcanary/web/components/canary-search-match-github-discussion"), - import("@getcanary/web/components/canary-filter-tabs-glob.js"), - import("@getcanary/web/components/canary-filter-tags.js"), - import("@getcanary/web/components/canary-footer.js"), - ]) - .then(() => setLoaded(true)) - .catch(console.error); - }, []); - - const PUBLIC_KEY = "cp1a506f13"; - - const TAGS = "All,Proxy"; - - const TABS = JSON.stringify([ - { name: "Docs", pattern: "**/docs.litellm.ai/**" }, - { name: "Github", pattern: "**/github.com/**" }, - ]); - - return ( -