| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| .npmignore | ||
| CHANGELOG.md | ||
| package.json | ||
| README.md | ||
| tsconfig.client.json | ||
| tsconfig.json | ||
@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.