13c3c0ab15
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Confluence
Note
This documentation is deprecated and will be removed at a future date. Please use the well-maintained
@backstage-community/plugin-search-backend-module-confluence-collatorCommunity Plugin instead.
These files help you add Confluence as a source to the Backstage Search plugin. To do so, add both files in this directory under the packages/backend/src/plugins/search/ pathway in your Backstage app. Then, add the following code to your packages/app/src/components/search/SearchPage.tsx:
import { ConfluenceResultListItem } from './ConfluenceResultListItem';
case 'confluence':
return (
<ConfluenceResultListItem
key={document.location}
result={document}
/>
);
and the following to packages/backend/src/plugins/search.ts:
import { ConfluenceCollator } from './search/ConfluenceCollator';
indexBuilder.addCollator({
defaultRefreshIntervalSeconds: 600,
collator: new ConfluenceCollator(),
});