Skip to content

Commit

Permalink
use local search instead of algolia (#2253)
Browse files Browse the repository at this point in the history
Algolia search is broken so we switch. Algolia is a better search engine and has better integration but there is a problem with Yew index. Until that problem is fixed, we have no choice but to switch.
  • Loading branch information
ranile authored Dec 10, 2021
1 parent d2857c9 commit 92ebc68
Show file tree
Hide file tree
Showing 3 changed files with 514 additions and 4 deletions.
10 changes: 6 additions & 4 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ module.exports = {
prism: {
additionalLanguages: ['rust', 'toml'],
},
algolia: {
apiKey: "bbaacf676920f3836ccab85fb87dd37c",
indexName: "yew",
},
googleAnalytics: {
trackingID: 'UA-175524777-1',
anonymizeIP: true, // Should IPs be anonymized?
Expand Down Expand Up @@ -132,5 +128,11 @@ module.exports = {
],
},
],
[
require.resolve("@easyops-cn/docusaurus-search-local"),
{
hashed: true,
},
],
],
};
Loading

0 comments on commit 92ebc68

Please sign in to comment.