docs: Update plugin installation commands

Signed-off-by: Sergey Shevchenko <sergeyshevchdevelop@gmail.com>
This commit is contained in:
Sergey Shevchenko
2023-05-17 11:30:06 +03:00
parent 105f7129c3
commit 933fe2c344
4 changed files with 14 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-analytics-module-ga4': patch
'@backstage/plugin-devtools-backend': patch
'@backstage/plugin-linguist-backend': patch
---
Update plugin installation docs to be more consistent across documentations
+5 -1
View File
@@ -9,7 +9,11 @@ This plugin contains no other functionality.
## Installation
1. Install the plugin package in your Backstage app:
`cd packages/app && yarn add @backstage/plugin-analytics-module-ga4`
```sh
yarn add --cwd packages/app @backstage/@backstage/plugin-analytics-module-ga4
```
2. Wire up the API implementation to your App:
```tsx
+1 -2
View File
@@ -10,8 +10,7 @@ Here's how to get the DevTools Backend up and running:
```sh
# From the Backstage root directory
cd packages/backend
yarn add @backstage/plugin-devtools-backend
yarn add --cwd packages/backend @backstage/plugin-devtools-backend
```
2. Then we will create a new file named `packages/backend/src/plugins/devtools.ts`, and add the
+1 -2
View File
@@ -14,8 +14,7 @@ Here's how to get the backend up and running:
```sh
# From the Backstage root directory
cd packages/backend
yarn add @backstage/plugin-linguist-backend
yarn add --cwd packages/backend @backstage/plugin-linguist-backend
```
2. Then we will create a new file named `packages/backend/src/plugins/linguist.ts`, and add the