Apply suggestions from code review

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-05-03 10:40:49 +02:00
committed by GitHub
parent e2e39faa71
commit 79a6358f50
2 changed files with 4 additions and 4 deletions
@@ -6,7 +6,7 @@ sidebar_label: Configuring Extensions
description: Documentation for how to configure extensions in a Backstage app
---
All extensions in a Backstage app can be configured through static configuration. This configuration is all done under a the `app.extensions` configuration key. For more general information on how to write configuration for Backstage, see the section on [writing configuration](../../conf/writing.md).
All extensions in a Backstage app can be configured through static configuration. This configuration is all done under the `app.extensions` configuration key. For more general information on how to write configuration for Backstage, see the section on [writing configuration](../../conf/writing.md).
## Extension Configuration Schema
@@ -117,7 +117,7 @@ You can then also add any additional extensions that you may need to create as p
[Utility API](../utility-apis/01-index.md) factories are now installed as extensions instead. Pass the existing factory to `createApiExtension` and install it in the app. For more information, see the section on [configuring Utility APIs](../utility-apis/04-configuring.md).
For example, the following apis configuration:
For example, the following `apis` configuration:
```ts
const app = createApp({
@@ -151,7 +151,7 @@ Icons are currently installed through the usual options to `createApp`, but will
Plugins are now passed through the `features` options instead.
For example, the following plugins configuration:
For example, the following `plugins` configuration:
```tsx
import { homePlugin } from '@backstage/plugin-home';
@@ -163,7 +163,7 @@ createApp({
});
```
Can be converted to the following features configuration:
Can be converted to the following `features` configuration:
```tsx
// plugins are now default exported via alpha subpath