Skip to content

Commit 8a9fb42

Browse files
authored
Merge pull request #298 from NYU-RTS/algolia
switch to algolia from client-side search
2 parents 001fc7f + 763949a commit 8a9fb42

5 files changed

Lines changed: 63 additions & 387 deletions

File tree

.memsearch/memory/2026-05-14.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
## Session 17:45
3+

docusaurus.config.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ const config: Config = {
4444
locales: ["en"],
4545
},
4646

47-
plugins: ["docusaurus-lunr-search"],
48-
4947
presets: [
5048
[
5149
"classic",
@@ -198,6 +196,15 @@ const config: Config = {
198196
"r",
199197
],
200198
},
199+
200+
algolia: {
201+
askAi: "8ZKKd4FtQw2e",
202+
appId: "5Y8Q0MVP6Y",
203+
apiKey: "765882f24d95c1462561a66b67f33fb8",
204+
indexName: "algolia-crawler",
205+
searchPagePath: "search",
206+
insights: true,
207+
},
201208
} satisfies Preset.ThemeConfig,
202209

203210
future: {

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
"@radix-ui/react-dialog": "^1.1.15",
2929
"@radix-ui/react-tooltip": "^1.2.8",
3030
"clsx": "^2.1.1",
31-
"docusaurus-lunr-search": "^3.6.0",
3231
"lucide-react": "^0.514.0",
33-
"lunr": "^2.3.9",
3432
"prism-react-renderer": "^2.4.1",
3533
"react": "^19.2.4",
3634
"react-dom": "^19.2.4",
@@ -55,7 +53,7 @@
5553
"eslint-plugin-unicorn": "^59.0.1",
5654
"husky": "^9.1.7",
5755
"lint-staged": "^16.4.0",
58-
"prettier": "^3.8.1",
56+
"prettier": "^3.8.3",
5957
"prettier-plugin-jsdoc": "^1.8.0",
6058
"stylelint": "^16.26.1",
6159
"stylelint-config-rational-order": "^0.1.2",

0 commit comments

Comments
 (0)