docs(nxdev): add algolia production configuration (#9619)
This commit is contained in:
parent
96e0a6e86f
commit
803d5ff126
@ -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 {
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user