@@ -0,0 +1,22 @@
|
||||
---
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Update the template to reflect the renaming of `DocsResultListItem` to `TechDocsSearchResultListItem` from `@backstage/plugin-techdocs`.
|
||||
|
||||
To apply this change to an existing app, make the following change to `packages/app/src/components/search/SearchPage.tsx`:
|
||||
|
||||
```diff
|
||||
-import { DocsResultListItem } from '@backstage/plugin-techdocs';
|
||||
+import { TechDocsSearchResultListItem } from '@backstage/plugin-techdocs';
|
||||
```
|
||||
|
||||
```diff
|
||||
case 'techdocs':
|
||||
return (
|
||||
- <DocsResultListItem
|
||||
+ <TechDocsSearchResultListItem
|
||||
key={document.location}
|
||||
result={document}
|
||||
/>
|
||||
```
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
- Renamed `DocsResultListItem` to `TechDocsSearchResultListItem`, leaving the old name in place as a deprecations.
|
||||
|
||||
- Renamed `TechDocsPage` to `TechDocsReaderPage`, leaving the old name in place as a deprecations.
|
||||
|
||||
- Renamed `TechDocsPageRenderFunction` to `TechDocsPageRenderFunction`, leaving the old name in place as a deprecations.
|
||||
|
||||
- Renamed `TechDocsPageHeader` to `TechDocsReaderPageHeader`, leaving the old name in place as a deprecations.
|
||||
|
||||
- `LegacyTechDocsHome` marked as deprecated and will be deleted in next release, use `TechDocsCustomHome` instead.
|
||||
|
||||
- `LegacyTechDocsPage` marked as deprecated and will be deleted in next release, use `TechDocsReaderPage` instead.
|
||||
Reference in New Issue
Block a user