Skip to content

Commit

Permalink
[BUG] debug docs search (#2460)
Browse files Browse the repository at this point in the history
fixing search and analytics on docs.
  • Loading branch information
jeffchuber committed Jul 5, 2024
1 parent a24cf70 commit f1723de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs.trychroma.com/components/layout/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Search() {
appId={process.env.NEXT_PUBLIC_ALGOLIA_APP_ID}
apiKey={process.env.NEXT_PUBLIC_ALGOLIA_API_KEY}
indexName={process.env.NEXT_PUBLIC_ALGOLIA_INDEX_NAME}
insights={true}
insights
/>
);
}
1 change: 0 additions & 1 deletion docs/docs.trychroma.com/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export default function ChromaDocs({ Component, pageProps }: AppProps<ChromaDocs

const pageTitle = `${title}${title !== "Chroma" ? " | Chroma Docs": " Docs" }`


// generate the github edit link
let filePath = router.asPath.split('/').slice(1).join('/')

Expand Down

0 comments on commit f1723de

Please sign in to comment.