Skip to content

Commit e81fdd7

Browse files
authored
Merge pull request #24 from opencomponents/add-algolia-search
add algolia search to website
2 parents 97abcd6 + 9b6c076 commit e81fdd7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

website/docusaurus.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const config = {
3939
}),
4040
],
4141
],
42-
4342
themeConfig:
4443
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
4544
({
@@ -101,6 +100,12 @@ const config = {
101100
theme: lightCodeTheme,
102101
darkTheme: darkCodeTheme,
103102
},
103+
algolia: {
104+
appId: 'YKTLKDBBGV',
105+
// Public API key: it is safe to commit it
106+
apiKey: 'b75f1257f754f7f15e79a16b81bef105',
107+
indexName: 'opencomponents'
108+
},
104109
}),
105110
};
106111

0 commit comments

Comments
 (0)