Skip to content

Commit

Permalink
Merge pull request #47 from deccer/main
Browse files Browse the repository at this point in the history
Add lunr search
  • Loading branch information
deccer authored Dec 18, 2024
2 parents db3b91c + cc59919 commit 47f76ce
Show file tree
Hide file tree
Showing 3 changed files with 853 additions and 13 deletions.
4 changes: 4 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ const config: Config = {
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',

plugins: [[ require.resolve('docusaurus-lunr-search'), {
languages: ['en'] // language codes
}]],

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
Expand Down
Loading

0 comments on commit 47f76ce

Please sign in to comment.