Skip to content

Commit

Permalink
Merge pull request #79 from abes-esr/FIX-searchbar
Browse files Browse the repository at this point in the history
Fix searchbar
  • Loading branch information
julg authored Sep 17, 2024
2 parents ecd48f6 + 6ebce9d commit e7b15b0
Showing 3 changed files with 2,297 additions and 2,515 deletions.
15 changes: 9 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -35,12 +35,15 @@ const config = {
},

// Dépendance qui permet la recherche sur le site. Ne fonctionne pas en localhost
plugins: [[
require.resolve('docusaurus-lunr-search'), {
languages: ['en', 'fr'],
includeRoutes: ['/docs'],
}
],
plugins: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
({
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
})
],
require.resolve('docusaurus-plugin-matomo')
],

Loading

0 comments on commit e7b15b0

Please sign in to comment.