Skip to content

Commit f73f651

Browse files
authored
docs: add algolia search functionality (#3692)
1 parent ffe741c commit f73f651

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

docs/docusaurus.config.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -272,16 +272,12 @@ const config = {
272272
theme: lightCodeTheme,
273273
darkTheme: darkCodeTheme,
274274
},
275-
}),
276-
277-
themes: [
278-
[
279-
'@easyops-cn/docusaurus-search-local',
280-
{
281-
hashed: true,
275+
algolia: {
276+
appId: 'U16QMJNNW7',
277+
apiKey: 'c32fdc9aa2bbfaa3d44481f5cbdb3c04',
278+
indexName: 'crawler_React Native Paper Docs',
282279
},
283-
],
284-
],
280+
}),
285281
};
286282

287283
module.exports = config;

0 commit comments

Comments
 (0)