Add changeset & add to app-next
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
committed by
Patrik Oldsberg
parent
790fe3c4c1
commit
27740caa2d
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs': minor
|
||||
---
|
||||
|
||||
Added experimental support for declarative integration.
|
||||
@@ -25,6 +25,7 @@ import {
|
||||
createPageExtension,
|
||||
} from '@backstage/frontend-plugin-api';
|
||||
import { entityRouteRef } from '@backstage/plugin-catalog-react';
|
||||
import techdocsPlugin from '@backstage/plugin-techdocs/alpha';
|
||||
|
||||
/*
|
||||
|
||||
@@ -67,6 +68,7 @@ const app = createApp({
|
||||
graphiqlPlugin,
|
||||
pagesPlugin,
|
||||
techRadarPlugin,
|
||||
techdocsPlugin,
|
||||
userSettingsPlugin,
|
||||
createExtensionOverrides({
|
||||
extensions: [entityPageExtension],
|
||||
|
||||
@@ -25,6 +25,7 @@ import { createSearchResultListItemExtension } from '@backstage/plugin-search-re
|
||||
import {
|
||||
configApiRef,
|
||||
createApiFactory,
|
||||
createRouteRef,
|
||||
discoveryApiRef,
|
||||
fetchApiRef,
|
||||
identityApiRef,
|
||||
@@ -34,7 +35,15 @@ import {
|
||||
techdocsStorageApiRef,
|
||||
} from '@backstage/plugin-techdocs-react';
|
||||
import { TechDocsClient, TechDocsStorageClient } from './client';
|
||||
import { rootDocsRouteRef, rootRouteRef } from './routes';
|
||||
|
||||
const rootRouteRef = createRouteRef({
|
||||
id: 'plugin.techdocs.indexPage',
|
||||
});
|
||||
|
||||
const rootDocsRouteRef = createRouteRef({
|
||||
id: 'plugin.techdocs.readerPage',
|
||||
params: ['namespace', 'kind', 'name'],
|
||||
});
|
||||
|
||||
/** @alpha */
|
||||
export const TechDocsSearchResultListItemExtension =
|
||||
|
||||
Reference in New Issue
Block a user