@k-phoen/backstage-plugin-confluence
v0.0.15
Published
This plugin integrates Confluence documents to Backstage' search engine.
Downloads
2,961
Readme
Confluence search plugin
This plugin integrates Confluence documents to Backstage' search engine.
Note: it is used in combination with its backend counter-part.
How does it look?
Search results:
Installation
Add the plugin to your frontend app:
cd packages/app && yarn add @k-phoen/backstage-plugin-confluence
Nicely display Confluence search results:
// packages/app/src/components/search/SearchPage.tsx
import { DocsIcon } from '@backstage/core-components';
import { ConfluenceResultListItem } from '@k-phoen/backstage-plugin-confluence';
// ...
<SearchType.Accordion
name="Result Type"
types={[
// ...
{
value: 'confluence',
name: 'Confluence',
icon: <DocsIcon />,
},
]}
/>
<SearchResult>
// ...
<ConfluenceResultListItem />
</SearchResult>
License
This library is under the MIT license.