1
0
Fork 0
docsearch/adapters/docusaurus-theme-search-algolia
2026-08-17 16:24:37 -04:00
..
scripts feat: promote DocSearch v5 to main (#2968) 2026-08-06 15:31:45 -04:00
src feat: promote DocSearch v5 to main (#2968) 2026-08-06 15:31:45 -04:00
.gitignore feat(docusaurus-adapter): support docsearch key and adapter docs (#2858) 2026-02-17 17:53:12 +01:00
.npmignore feat(docusaurus-adapter): support docsearch key and adapter docs (#2858) 2026-02-17 17:53:12 +01:00
CHANGELOG.md chore: release v5.0.2 (#3027) 2026-08-17 16:24:37 -04:00
package.json chore: release v5.0.2 (#3027) 2026-08-17 16:24:37 -04:00
README.md feat: promote DocSearch v5 to main (#2968) 2026-08-06 15:31:45 -04:00
tsconfig.client.json feat: promote DocSearch v5 to main (#2968) 2026-08-06 15:31:45 -04:00
tsconfig.json feat: promote DocSearch v5 to main (#2968) 2026-08-06 15:31:45 -04:00

@docsearch/docusaurus-adapter

Algolia search component for Docusaurus.

Usage

Prefer configuring the adapter with themeConfig.docsearch:

// docusaurus.config.js
export default {
  // ...
  themeConfig: {
    docsearch: {
      appId: 'APP_ID',
      apiKey: 'SEARCH_API_KEY',
      indices: [{ name: 'INDEX_NAME' }],
      askAi: {
        assistantId: 'ASSISTANT_ID',
      },
      sidePanel: true,
    },
  },
};

Only themeConfig.docsearch is supported.