From 2a5a36ca2a8fbcc0b9722afae388af9442f08669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Tue, 29 Mar 2022 11:39:13 +0200 Subject: [PATCH] remove unnecessary addendum (no longer a default-installed thing anyway) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- docs/integrations/github/org.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/docs/integrations/github/org.md b/docs/integrations/github/org.md index 94689f4a39..0460b1adbc 100644 --- a/docs/integrations/github/org.md +++ b/docs/integrations/github/org.md @@ -55,22 +55,3 @@ The authorization for loading org information comes from a configured [GitHub integration](locations.md#configuration). When using a personal access token, the token needs to have at least the scopes `read:org`, `read:user`, and `user:email` in the given `target`. - -## Addendum - -Some Backstage apps have _replaced_ the catalog processors to override the -default catalog processing behavior. These apps will already have a call to -`replaceProcessors` in the catalog initialization. - -In the unlikely scenario that this applies to your app, you can import and -add the `GithubOrgReaderProcessor` as follows: - -```ts -// Typically in packages/backend/src/plugins/catalog.ts -import { GithubOrgReaderProcessor } from '@backstage/plugin-catalog-backend'; - -builder.replaceProcessors( - // ... other processor replacements - GithubOrgReaderProcessor.fromConfig(env.config, { logger: env.logger }), -); -```