Skip to content

Commit 7826334

Browse files
committed
Switch from Algolia to Canary + Pagefind
1 parent 68f7f1f commit 7826334

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

website/docusaurus.config.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const config: Config = {
1313
favicon: 'img/favicon/favicon.ico',
1414
organizationName: 'reduxjs',
1515
projectName: 'redux',
16+
themes: [require.resolve('@getcanary/docusaurus-theme-search-pagefind')],
1617
themeConfig: {
1718
tableOfContents: {
1819
minHeadingLevel: 2,
@@ -159,11 +160,11 @@ const config: Config = {
159160
},
160161
copyright: `Copyright © 2015–${new Date().getFullYear()} Dan Abramov and the Redux documentation authors.`
161162
},
162-
algolia: {
163-
appId: 'YUQHC5OCW0',
164-
apiKey: 'ef8f3e604a1e7ed3afa4dbaeeecfa5f2',
165-
indexName: 'redux'
166-
}
163+
// algolia: {
164+
// appId: 'YUQHC5OCW0',
165+
// apiKey: 'ef8f3e604a1e7ed3afa4dbaeeecfa5f2',
166+
// indexName: 'redux'
167+
// }
167168
} satisfies ThemeConfig,
168169
presets: [
169170
[

0 commit comments

Comments
 (0)