Skip to content

Commit

Permalink
docs: update frontend plugin docs to use EntityLayout instead of Enti…
Browse files Browse the repository at this point in the history
…tyPageLayout (janus-idp#907)
  • Loading branch information
Zaperex authored Nov 6, 2023
1 parent efc98e8 commit aa91bba
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions plugins/acr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The Azure Container Registry (ACR) plugin displays information about your contai
/* highlight-add-end */
const serviceEntityPage = (
<EntityPageLayout>
<EntityLayout>
// ...
{/* highlight-add-start */}
<EntityLayout.Route
Expand All @@ -66,7 +66,7 @@ The Azure Container Registry (ACR) plugin displays information about your contai
<AcrPage />
</EntityLayout.Route>
{/* highlight-add-end */}
</EntityPageLayout>
</EntityLayout>
);
```

Expand Down
4 changes: 2 additions & 2 deletions plugins/jfrog-artifactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The Jfrog Artifactory plugin displays information about your container images wi
/* highlight-add-end */
const serviceEntityPage = (
<EntityPageLayout>
<EntityLayout>
// ...
{/* highlight-add-start */}
<EntityLayout.Route
Expand All @@ -49,7 +49,7 @@ The Jfrog Artifactory plugin displays information about your container images wi
<JfrogArtifactoryPage />
</EntityLayout.Route>
{/* highlight-add-end */}
</EntityPageLayout>
</EntityLayout>
);
```

Expand Down
4 changes: 2 additions & 2 deletions plugins/kiali/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@
import { EntityKialiContent } from '@janus-idp/backstage-plugin-kiali';

const serviceEntityPage = (
<EntityPageLayout>
<EntityLayout>
{/* ... */}
{/* highlight-add-start */}
<EntityLayout.Route path="/kiali" title="kiali">
<EntityKialiContent />
</EntityLayout.Route>
{/* highlight-add-end */}
</EntityPageLayout>
</EntityLayout>
);
```

Expand Down
4 changes: 2 additions & 2 deletions plugins/kiali/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ The Kiali plugin has the following capabilities:
import { EntityKialiContent } from '@janus-idp/backstage-plugin-kiali';
const serviceEntityPage = (
<EntityPageLayout>
<EntityLayout>
{/* ... */}
{/* highlight-add-start */}
<EntityLayout.Route path="/kiali" title="kiali">
<EntityKialiContent />
</EntityLayout.Route>
{/* highlight-add-end */}
</EntityPageLayout>
</EntityLayout>
);
```

Expand Down
4 changes: 2 additions & 2 deletions plugins/nexus-repository-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The Nexus Repository Manager plugin displays the information about your build ar
} from '@janus-idp/backstage-plugin-nexus-repository-manager';
const serviceEntityPage = (
<EntityPageLayout>
<EntityLayout>
{/* ... */}
{/* highlight-add-next-line */}
<EntityLayout.Route
Expand All @@ -66,7 +66,7 @@ The Nexus Repository Manager plugin displays the information about your build ar
>
<NexusRepositoryManagerPage />
</EntityLayout.Route>
</EntityPageLayout>
</EntityLayout>
);
```

Expand Down
4 changes: 2 additions & 2 deletions plugins/quay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ The Quay plugin displays the information about your container images within the
import { isQuayAvailable, QuayPage } from '@janus-idp/backstage-plugin-quay';
const serviceEntityPage = (
<EntityPageLayout>
<EntityLayout>
{/* ... */}
{/* highlight-add-next-line */}
<EntityLayout.Route if={isQuayAvailable} path="/quay" title="Quay">
<QuayPage />
</EntityLayout.Route>
</EntityPageLayout>
</EntityLayout>
);
```

Expand Down
4 changes: 2 additions & 2 deletions plugins/topology/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,14 @@ The Topology plugin enables you to visualize the workloads such as Deployment, J
import { TopologyPage } from '@janus-idp/backstage-plugin-topology';
const serviceEntityPage = (
<EntityPageLayout>
<EntityLayout>
{/* ... */}
{/* highlight-add-start */}
<EntityLayout.Route path="/topology" title="Topology">
<TopologyPage />
</EntityLayout.Route>
{/* highlight-add-end */}
</EntityPageLayout>
</EntityLayout>
);
```

Expand Down

0 comments on commit aa91bba

Please sign in to comment.