Skip to content

Commit

Permalink
docs(nxdev): add algolia production configuration (#9619)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes committed Mar 31, 2022
1 parent 96e0a6e commit 803d5ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions nx-dev/feature-search/src/lib/algolia-search.global.css
Expand Up @@ -156,11 +156,12 @@
}

.DocSearch-Hit-source {
line-height: 1.5rem;
font-weight: bold;
color: theme('colors.gray.600');
font-weight: bold;
line-height: 1.5rem;
margin-top: 1.5rem;
margin-bottom: 1rem;
text-transform: capitalize;
}

.DocSearch-Hit-Container {
Expand Down
12 changes: 6 additions & 6 deletions nx-dev/feature-search/src/lib/algolia-search.tsx
Expand Up @@ -96,16 +96,16 @@ export function AlgoliaSearch() {
{isOpen &&
createPortal(
<DocSearchModal
// searchParameters={{
// facetFilters: ['language:en'],
// }}
searchParameters={{
facetFilters: ['language:en'],
}}
initialQuery={initialQuery}
placeholder="Search documentation"
initialScrollY={window.scrollY}
onClose={handleClose}
indexName="nx"
apiKey="0c9c3fb22624056e7475eddcbcbfbe91"
appId="BH4D9OD16A"
indexName="nx-production"
apiKey="f49a1eb671385f0472a7285556168930"
appId="PCTGM1JTQL"
navigator={{
navigate({ itemUrl }) {
setIsOpen(false);
Expand Down

1 comment on commit 803d5ff

@vercel
Copy link

@vercel vercel bot commented on 803d5ff Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.