Skip to content

Commit fa25831

Browse files
Added algolia search
1 parent 69407ed commit fa25831

File tree

3 files changed

+30
-11
lines changed

3 files changed

+30
-11
lines changed

docs/docusaurus.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,21 @@ const config = {
119119
theme: lightCodeTheme,
120120
darkTheme: darkCodeTheme,
121121
},
122+
algolia: {
123+
// The application ID provided by Algolia
124+
appId: 'F28CNJCTCQ',
125+
126+
// Public API key: it is safe to commit it
127+
apiKey: '7633ba45827e384f005a1351e811105e',
128+
129+
indexName: 'react-use-custom-hooks',
130+
131+
// Optional: see doc section below
132+
contextualSearch: true,
133+
134+
// Optional: path for search page that enabled by default (`false` to disable it)
135+
searchPagePath: 'false',
136+
},
122137
}),
123138
};
124139

docs/package-lock.json

Lines changed: 11 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6420,10 +6420,10 @@
64206420
"use-composed-ref" "^1.0.0"
64216421
"use-latest" "^1.0.0"
64226422

6423-
"react-use-custom-hooks@0.2.0":
6424-
"integrity" "sha512-Ynpxa+zGSD+M3MR8NGm2s3MXszUkaH7wLz9Za8k8RXWlHHW0Quz+YIpFpszRKobz03OdAoVIEmVEIEcRAmtLaA=="
6425-
"resolved" "https://registry.npmjs.org/react-use-custom-hooks/-/react-use-custom-hooks-0.2.0.tgz"
6426-
"version" "0.2.0"
6423+
"react-use-custom-hooks@^0.2.1":
6424+
"integrity" "sha512-s5YINYMed1UjraDLrI0zPMFK5l8VQpWR2+PtuH3JbMvPXFBMxDAncGx62e0G8oFQS2faqMA61hDT8RX2yD6H3w=="
6425+
"resolved" "https://registry.npmjs.org/react-use-custom-hooks/-/react-use-custom-hooks-0.2.1.tgz"
6426+
"version" "0.2.1"
64276427

64286428
"react@*", "react@^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0", "react@^15.0.2 || ^16.0.0 || ^17.0.0", "react@^16.13.1 || ^17.0.0", "react@^16.6.0 || ^17.0.0", "react@^16.8.0 || ^17.0.0", "react@^16.8.4 || ^17.0.0", "react@^17.0.0 || ^16.3.0 || ^15.5.4", "react@^17.0.1", "react@>= 16.8.0 < 18.0.0", "react@>=0.14.9", "react@>=15", "react@>=16", "react@17.0.2":
64296429
"integrity" "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA=="

0 commit comments

Comments
 (0)