@redpanda-data/docs-extensions-and-macros 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -389,13 +389,15 @@ module.exports.register = function (registry, context) {
|
|
|
389
389
|
supportLevelStr += `<p>${certifiedDrivers}${certifiedDrivers && communityDrivers ? '</br> ' : ''}${communityDrivers}</p>`;
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
|
-
// Build the cloud support column
|
|
392
|
+
// Build the cloud support column and include the connector URL where a connector page is available. Otherwise, just mark as available.
|
|
393
393
|
const firstCloudSupportedType = Array.from(types.entries())
|
|
394
394
|
.map(([_, commercialNames]) => Object.values(commercialNames).find(({ isCloudSupported }) => isCloudSupported))
|
|
395
|
-
.find(entry => entry
|
|
395
|
+
.find(entry => entry);
|
|
396
396
|
const cloudLinkDisplay = firstCloudSupportedType
|
|
397
|
-
?
|
|
398
|
-
|
|
397
|
+
? firstCloudSupportedType.urls.redpandaCloudUrl
|
|
398
|
+
? `<a href="${firstCloudSupportedType.urls.redpandaCloudUrl}">Yes</a>`
|
|
399
|
+
: `Yes`
|
|
400
|
+
: 'No';
|
|
399
401
|
|
|
400
402
|
const firstUrl = getFirstUrlFromTypesArray(Array.from(types.entries()), isCloud);
|
|
401
403
|
|