#how do you add featured docs to the home page FeaturedDocsCard?

2 messages · Page 1 of 1 (latest)

granite fox
glacial helm
#

👋
It seems to use the catalog filtering query, (EntityFilterQuery) here's an example found in the release notes for Backstage 1.20:

     <FeaturedDocsCard
        filter={{
          'spec.type': 'documentation',
          'metadata.name': 'getting-started-with-backstage',
        }}
        subLinkText="More Details"
        emptyState={emptyStateReactNode}
        linkDestination={'/customPath'}
        responseLimit={5}
      />

Here are the docs for EntityFilterQuery