on {date}
- - {category} - -{description}
} - footer={ - category.toLowerCase() === 'upcoming' ? ( - <> - - Event page - - - - Remind me - - > - ) : ( - - Watch on YouTube - - ) - } - /> -); diff --git a/microsite/src/pages/on-demand/index.tsx b/microsite/src/pages/on-demand/index.tsx deleted file mode 100644 index 8d78c393ce..0000000000 --- a/microsite/src/pages/on-demand/index.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import Layout from '@theme/Layout'; -import clsx from 'clsx'; -import React from 'react'; - -import { IOnDemandData, OnDemandCard } from './_onDemandCard'; -import pluginsStyles from './onDemand.module.scss'; -import { truncateDescription } from '@site/src/util/truncateDescription'; -import Link from '@docusaurus/Link'; - -//#region Plugin data import -const onDemandContext = require.context( - '../../../data/on-demand', - false, - /\.ya?ml/, -); - -const onDemandData = onDemandContext.keys().reduce( - (acum, id) => { - const pluginData: IOnDemandData = onDemandContext(id).default; - - acum[ - pluginData.category === 'Upcoming' ? 'upcomingEvents' : 'onDemandEvents' - ].push(truncateDescription(pluginData)); - - return acum; - }, - { - upcomingEvents: [] as IOnDemandData[], - onDemandEvents: [] as IOnDemandData[], - }, -); -//#endregion - -const Plugins = () => ( -- Upcoming events and recorded sessions about updates, demos and - discussions. -
-
+
+- A standalone page that can be added to your application providing a viewer for your entity relations.
+ This viewer can be used to navigate through the entities and filter for specific relations, you can access it from the card "View Graph" action.
+
+
+
+## Table of Content
+
+- [Installation](#installation)
+- [Customization](#customization)
+ - [Packages](#packages)
+ - [Routes](#routes)
+ - [Extensions](#extensions)
+ - [Catalog entity relations graph card](#catalog-entity-relations-graph-card)
+ - [Catalog entity relations graph page](#catalog-entity-relations-graph-page)
+
+## Installation
+
+This plugin installation requires the following steps:
+
+> [!IMPORTANT]
+> In addition to installing this plugin, be sure to install the [Catalog](https://backstage.io/docs/features/software-catalog/) plugin, as the Catalog graph extends its capabilities.
+
+1. Add the `@backstage/catalog-graph` dependency to your app `package.json` file and install it;
+2. In your application's configuration file, enable the catalog entity relations graphic card extension so that the card begins to be presented on the catalog entity page:
+
+```yaml
+# app-config.yaml
+app:
+ experimental:
+ # Auto discovering all plugins extensions
+ packages: all
+ extensions:
+ # This is required because the card is not enable by default once you install the plugin
+ - entity-card:catalog-graph/relations
+```
+
+3. Then start the app, navigate to an entity's page and see the Relations graph there;
+4. By clicking on the "View Graph" card action, you will be redirected to the catalog entity relations page.
+
+## Customization
+
+This plugin can be customized in two ways: via the `app-config.yaml` file or through code. The following sections will explain to you what kind of configurations are available for use, as well as how you can customize the plugin implementation.
+
+### Packages
+
+The features of this plug-in can be discovered automatically as soon as you install it, but you can also configure the plug-in not to be enabled for certain [environments](https://backstage.io/docs/conf/writing/#configuration-files). See the examples below:
+
+_Enabling auto discovering the plugin extensions in production_
+
+```yaml
+# app-config.production.yaml
+# Overriding configurations for the local production environment
+app:
+ experimental:
+ packages:
+ # Only the following packages will be included
+ include:
+ - '@backstage/plugin-catalog-graph'
+```
+
+_Disabling auto discovering the plugin extensions in development_
+
+```yaml
+# app-config.local.yaml
+# Overriding configurations for the local development environment
+app:
+ experimental:
+ packages:
+ # All but the following package will be included
+ exclude:
+ - '@backstage/plugin-catalog-graph'
+```
+
+For more options of package configurations, see [this](https://backstage.io/docs/frontend-system/architecture/app/#feature-discovery) documentation.
+
+### Routes
+
+The Catalog graph plugin exposes regular and external routes that can be used to configure route bindings.
+
+| Key | Type | Description |
+| --------------- | -------------- | --------------------------------------- |
+| `catalogGraph` | Regular route | A route ref to the Catalog graph page. |
+| `catalogEntity` | External route | A route ref to the Catalog entity page. |
+
+As an example, here is an association between the external entity page and a different route other than the Catalog plugin's default entity page:
+
+```yaml
+# app-config.yaml
+app:
+ routes:
+ bindings:
+ # example binding the external catalog graph to a regular route
+ # defaults to catalog.catalogEntity
+ catalog-graph.catalogEntity: