Skip to main content

Configuration

Default configuration generates assets in pagefind/. The plugin automatically loads them from your site's baseUrl.

Custom asset directory​

plugins: [['docusaurus-pagefind-search', {outputSubdir: 'search/assets'}]]

Light and dark themes​

Search inherits Docusaurus theme variables. Use the navbar theme toggle to try both appearances.