Skip to content

Commit

Permalink
Merge pull request #663 from ethersphere/algolia
Browse files Browse the repository at this point in the history
add algolia config
  • Loading branch information
NoahMaizels authored Oct 28, 2024
2 parents 39886df + 57a06d7 commit 15f0dc2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
11 changes: 10 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module.exports = {
// note! we use SED to change this during automated builds, see ./.github/workflows/gh-pages.yml
baseUrl: '/',
plugins: [
require.resolve('docusaurus-lunr-search'),
'plugin-image-zoom',
[
'@docusaurus/plugin-client-redirects',
Expand Down Expand Up @@ -317,6 +316,16 @@ module.exports = {
// backgroundColor: '#dd7200', // Defaults to `#fff`.
// textColor: '#242424', // Defaults to `#000`.
// },

algolia: {
appId: "UAJRQL15I8",

apiKey: "7660a0b9a0f5aff5abd6c285b57f1e45",

indexName: "ethswarm",

contextualSearch: false,
},
},
presets: [
[
Expand Down
24 changes: 17 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"dependencies": {
"@cookbookdev/docsbot": "^4.21.23",
"@docsearch/js": "^3.6.2",
"@docusaurus/core": "^3.1.1",
"@docusaurus/plugin-client-redirects": "^3.1.1",
"@docusaurus/preset-classic": "^3.1.1",
Expand Down

0 comments on commit 15f0dc2

Please sign in to comment.