Merge pull request #5284 from trumant/plugin-docs-sidebar-correction

Correcting the path to the Root component in the plugin docs
This commit is contained in:
Ben Lambert
2021-04-12 10:05:35 +02:00
committed by GitHub
@@ -68,9 +68,9 @@ proxy:
In a standard Backstage app created with
[@backstage/create-app](./create-an-app.md), the sidebar is managed inside
`packages/app/src/components/Root.tsx`. The file exports the entire `Sidebar`
element of your app, which you can extend with additional entries by adding new
`SidebarItem` elements.
`packages/app/src/components/Root/Root.tsx`. The file exports the entire
`Sidebar` element of your app, which you can extend with additional entries by
adding new `SidebarItem` elements.
For example, if you install the `api-docs` plugin, a matching `SidebarItem`
could be something like this: