diff --git a/docs/docs/examples/examples/03_postgres_source.md b/docs/docs/examples/examples/03_postgres_source.md index 01d3a8730..58833f24b 100644 --- a/docs/docs/examples/examples/03_postgres_source.md +++ b/docs/docs/examples/examples/03_postgres_source.md @@ -6,9 +6,9 @@ slug: /examples/postgres_source canonicalUrl: '/examples/postgres_source' sidebar_custom_props: image: /img/examples/postgres_source/cover.png - tags: [data-mapping, vector-index, postgres] + tags: [data-mapping, vector-index] image: /img/examples/postgres_source/cover.png -tags: [data-mapping, vector-index, postgres] +tags: [data-mapping, vector-index] --- import { GitHubButton, YouTubeButton, DocumentationButton } from '../../../src/components/GitHubButton'; diff --git a/docs/src/theme/DocCardList/index.tsx b/docs/src/theme/DocCardList/index.tsx index 440289f4e..f4c1ac7a9 100644 --- a/docs/src/theme/DocCardList/index.tsx +++ b/docs/src/theme/DocCardList/index.tsx @@ -13,6 +13,7 @@ const TAGS = [ 'multi-modal', 'structured-data-extraction', 'custom-building-blocks', + 'data-mapping' ]; export default function DocCardList(props: Props): ReactNode { @@ -28,16 +29,30 @@ export default function DocCardList(props: Props): ReactNode { // Filter items by selected tag if any const filteredItems = selectedTag ? items.filter( - (item) => - Array.isArray(item?.customProps?.tags) && - item.customProps.tags.includes(selectedTag) - ) + (item) => + Array.isArray(item?.customProps?.tags) && + item.customProps.tags.includes(selectedTag) + ) : items; return ( <>