Skip to content

Commit

Permalink
docs: Show 10 search results instead of the default 5 (#6110)
Browse files Browse the repository at this point in the history
  • Loading branch information
huguestennier authored Jul 19, 2024
1 parent 4515b99 commit 199e038
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/themes/v2/source/js/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
inputSelector: '#docsearch-input',
appId,
apiKey,
indexName
indexName,
algoliaOptions: { hitsPerPage: 10 },
});

const handleFocusSearch = (e) => {
Expand Down

0 comments on commit 199e038

Please sign in to comment.