Version Packages (next)

This commit is contained in:
github-actions[bot]
2022-04-12 15:19:00 +00:00
parent 0df260a54f
commit 2e1cce5528
197 changed files with 2505 additions and 758 deletions
+72
View File
@@ -1,5 +1,77 @@
# @backstage/plugin-techdocs
## 1.1.0-next.3
### Minor Changes
- ace749b785: TechDocs supports a new, experimental method of customization: addons!
To customize the standalone TechDocs reader page experience, update your `/packages/app/src/App.tsx` in the following way:
```diff
import { TechDocsIndexPage, TechDocsReaderPage } from '@backstage/plugin-techdocs';
+ import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
+ import { SomeAddon } from '@backstage/plugin-some-plugin';
// ...
<Route path="/docs" element={<TechDocsIndexPage />} />
<Route
path="/docs/:namespace/:kind/:name/*"
element={<TechDocsReaderPage />}
>
+ <TechDocsAddons>
+ <SomeAddon />
+ </TechDocsAddons>
</Route>
// ...
```
To customize the TechDocs reader experience on the Catalog entity page, update your `packages/app/src/components/catalog/EntityPage.tsx` in the following way:
```diff
import { EntityTechdocsContent } from '@backstage/plugin-techdocs';
+ import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
+ import { SomeAddon } from '@backstage/plugin-some-plugin';
// ...
<EntityLayoutWrapper>
<EntityLayout.Route path="/" title="Overview">
{overviewContent}
</EntityLayout.Route>
<EntityLayout.Route path="/docs" title="Docs">
- <EntityTechDocsContent />
+ <EntityTechdocsContent>
+ <TechDocsAddons>
+ <SomeAddon />
+ </TechDocsAddons>
+ </EntityTechdocsContent>
</EntityLayout.Route>
</EntityLayoutWrapper>
// ...
```
If you do not wish to customize your TechDocs reader experience in this way at this time, no changes are necessary!
### Patch Changes
- ab230a433f: imports from `@backstage/plugin-search-react` instead of `@backstage/plugin-search`
- 24254fd433: build(deps): bump `@testing-library/user-event` from 13.5.0 to 14.0.0
- 230ad0826f: Bump to using `@types/node` v16
- Updated dependencies
- @backstage/core-app-api@1.0.1-next.1
- @backstage/core-components@0.9.3-next.2
- @backstage/core-plugin-api@1.0.1-next.0
- @backstage/integration-react@1.0.1-next.2
- @backstage/plugin-catalog-react@1.0.1-next.3
- @backstage/plugin-search-react@0.1.0-next.0
- @backstage/integration@1.1.0-next.2
- @backstage/plugin-techdocs-react@0.1.0-next.0
## 1.0.1-next.2
### Patch Changes