Apply suggestions from code review

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-04-27 17:16:16 +02:00
committed by GitHub
parent c614ede9a5
commit 74f74ccbdb
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ yarn add @backstage/plugin-techdocs
Once the package has been installed, you need to import the plugin in your app.
In `packages/app/src/App.tsx`, import TechDocsPage and add the following to
In `packages/app/src/App.tsx`, import `TechDocsPage` and add the following to
`FlatRoutes`:
```tsx
+3 -3
View File
@@ -95,10 +95,10 @@ any route we want for the page, as long as it doesn't collide with the routes
that we choose for the other plugins in the app.
These components that are exported from plugins are referred to as "Plugin
Extension Components", or "Extensions Components". They are regular React
Extension Components", or "Extension Components". They are regular React
components, but in addition to being able to be rendered by React, they also
contain various pieces of metadata that is used to write together the entire
app. Extensions components are created using `create*Extension` methods, which
contain various pieces of metadata that is used to wire together the entire
app. Extension components are created using `create*Extension` methods, which
you can read more about in the
[composability documentation](../plugins/composability.md).
+1 -1
View File
@@ -33,7 +33,7 @@ To link that a component provides or consumes an API, see the [`providesApis`](h
yarn add @backstage/plugin-api-docs
```
2. Add the `ApiExplorerPage` extensions to the app:
2. Add the `ApiExplorerPage` extension to the app:
```tsx
// packages/app/src/App.tsx
+1 -1
View File
@@ -23,7 +23,7 @@ Some features are not yet available for all supported Git providers.
yarn add @backstage/plugin-catalog-import
```
2. Add the `CatalogImportPage` extensions to the app:
2. Add the `CatalogImportPage` extension to the app:
```tsx
// packages/app/src/App.tsx
+1 -1
View File
@@ -30,7 +30,7 @@ const serviceEntityPage = (
);
```
4. Setup the `app.config.yaml` and account token environment variable
4. Setup the `app-config.yaml` and account token environment variable
```yaml
# app.config.yaml