Skip to content

Commit

Permalink
docs: update documentation about search collator
Browse files Browse the repository at this point in the history
  • Loading branch information
drodil committed Jan 15, 2024
1 parent 415ebd9 commit 4dd5747
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/search.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Integration with `@backstage/plugin-search`

> [!WARNING]
> This is going to be deprecated. Please use the `@drodil/backstage-plugin-search-backend-module-qeta` instead
Enable questions indexing in the search engine by the following changes. See
[setup](setup.md) first to integrate the plugin with backstage instance.

Expand Down
7 changes: 7 additions & 0 deletions plugins/qeta-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export default async function createPlugin({
}
```

> [!IMPORTANT]
> If you are using the `@drodil/backstage-plugin-search-backend-module-qeta` for search collator, please pass also
> `TokenManager` to the `createRouter` method.
Now add this plugin to your packages/backend/src/index.ts:

```ts
Expand All @@ -69,6 +73,9 @@ In your `packages/backend/src/index.ts` make the following changes:

### Integration with `@backstage/plugin-search`

> [!WARNING]
> This is going to be deprecated. Please use the `@drodil/backstage-plugin-search-backend-module-qeta` instead
**packages/backend/src/index.ts**

```ts
Expand Down

0 comments on commit 4dd5747

Please sign in to comment.