diff --git a/plugins/azure-devops/src/plugin.ts b/plugins/azure-devops/src/plugin.ts index ccd183eee9..eaed6e2af9 100644 --- a/plugins/azure-devops/src/plugin.ts +++ b/plugins/azure-devops/src/plugin.ts @@ -24,6 +24,7 @@ import { azurePullRequestDashboardRouteRef, azureGitTagsEntityContentRouteRef, azurePullRequestsEntityContentRouteRef, + azureReadMeEntityContentRouteRef, } from './routes'; import { createApiFactory, @@ -100,3 +101,11 @@ export const EntityAzurePullRequestsContent = azureDevOpsPlugin.provide( mountPoint: azurePullRequestsEntityContentRouteRef, }), ); + +export const EntityAzureReadMeContent = azureDevOpsPlugin.provide( + createRoutableExtension({ + name: 'EntityAzureReadMeContent', + component: () => import('./components/ReadMeCard').then(m => m.ReadMeCard), + mountPoint: azureReadMeEntityContentRouteRef, + }), +); diff --git a/plugins/azure-devops/src/routes.ts b/plugins/azure-devops/src/routes.ts index 4ed35bbe12..418cd89a53 100644 --- a/plugins/azure-devops/src/routes.ts +++ b/plugins/azure-devops/src/routes.ts @@ -31,3 +31,7 @@ export const azureGitTagsEntityContentRouteRef = createRouteRef({ export const azurePullRequestsEntityContentRouteRef = createRouteRef({ id: 'azure-pull-requests-entity-content', }); + +export const azureReadMeEntityContentRouteRef = createRouteRef({ + id: 'azure-read-me-entity-content', +});