Skip to content

Commit

Permalink
Merge pull request #2 from suggestionsbot/feature/algolia
Browse files Browse the repository at this point in the history
Implement Algolia DocSearch
  • Loading branch information
acollierr17 authored Aug 12, 2022
2 parents bb54dfa + 79c090d commit 9e2c084
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docusaurus.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,18 @@ const config = {
content: 'img/logo.png',
},
],
algolia: {
// The application ID provided by Algolia
appId: '15W1VT42Q2',

// Public API key: it is safe to commit it
apiKey: '31cb42386dcee6c62941330985512931',

indexName: 'suggestions_dev',

// Optional: see doc section below
contextualSearch: true,
},
}),
clientModules: [require.resolve('./modules/discordComponents.js')],
plugins: [],
Expand Down
14 changes: 13 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,19 @@ const config = {
],
fathomAnalytics: {
siteId: process.env.FATHOM_SITE_ID,
}
},
algolia: {
// The application ID provided by Algolia
appId: '15W1VT42Q2',

// Public API key: it is safe to commit it
apiKey: '31cb42386dcee6c62941330985512931',

indexName: 'suggestions',

// Optional: see doc section below
contextualSearch: true,
},
}),
clientModules: [
require.resolve('./modules/discordComponents.js'),
Expand Down

1 comment on commit 9e2c084

@vercel
Copy link

@vercel vercel bot commented on 9e2c084 Aug 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.