Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 4401f4a

Browse files
committed
feat: Update with Algolia search
1 parent 654c3d1 commit 4401f4a

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

website/docusaurus.config.js

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,29 @@ module.exports = {
9191
// googleAnalytics: {
9292
// trackingID: "TODO",
9393
// },
94-
// algolia: {
95-
// apiKey: "TODO",
96-
// indexName: "nodegui_svelte",
97-
// algoliaOptions: {}, // Optional, if provided by Algolia
98-
// },
94+
algolia: {
95+
apiKey: "2d5f0b46c971ffb4947697ce645520b0",
96+
indexName: "svelte-nodegui",
97+
/**
98+
* Optional. I've filled in some values in a comment for future reference.
99+
*/
100+
algoliaOptions: {
101+
// facetFilters: [
102+
// /**
103+
// * I'm not really sure what these do.
104+
// * There is also: lvl1, lvl2, lvl3, lvl4, lvl5
105+
// */
106+
// "type:content",
107+
//
108+
// /**
109+
// * To my understanding, this is irrelevant for now, because we're not supporting multiple versions
110+
// * of the docs simultanteously.
111+
// * There is also: version:current
112+
// */
113+
// "version:latest",
114+
// ],
115+
},
116+
},
99117
},
100118
presets: [
101119
[

0 commit comments

Comments
 (0)