@redpanda-data/docs-extensions-and-macros
Advanced tools
Comparing version 3.8.0 to 3.9.0
@@ -392,9 +392,11 @@ 'use strict'; | ||
} | ||
// Build the cloud support column | ||
// Build the cloud support column and include the connector URL where a connector page is available. Otherwise, just mark as available. | ||
const firstCloudSupportedType = Array.from(types.entries()) | ||
.map(([_, commercialNames]) => Object.values(commercialNames).find(({ isCloudSupported }) => isCloudSupported)) | ||
.find(entry => entry && entry.urls.redpandaCloudUrl); | ||
.find(entry => entry); | ||
const cloudLinkDisplay = firstCloudSupportedType | ||
? `<a href="${firstCloudSupportedType.urls.redpandaCloudUrl}">Yes</a>` | ||
: 'No'; | ||
? firstCloudSupportedType.urls.redpandaCloudUrl | ||
? `<a href="${firstCloudSupportedType.urls.redpandaCloudUrl}">Yes</a>` | ||
: `Yes` | ||
: 'No'; | ||
@@ -401,0 +403,0 @@ const firstUrl = getFirstUrlFromTypesArray(Array.from(types.entries()), isCloud); |
{ | ||
"name": "@redpanda-data/docs-extensions-and-macros", | ||
"version": "3.8.0", | ||
"version": "3.9.0", | ||
"description": "Antora extensions and macros developed for Redpanda documentation.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
148320
2623