diff --git a/macros/rp-connect-components.js b/macros/rp-connect-components.js index 77ccaf5..851856e 100644 --- a/macros/rp-connect-components.js +++ b/macros/rp-connect-components.js @@ -389,13 +389,15 @@ module.exports.register = function (registry, context) { supportLevelStr += `
${certifiedDrivers}${certifiedDrivers && communityDrivers ? ' ' : ''}${communityDrivers}
`; } } - // 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 - ? `Yes` - : 'No'; + ? firstCloudSupportedType.urls.redpandaCloudUrl + ? `Yes` + : `Yes` + : 'No'; const firstUrl = getFirstUrlFromTypesArray(Array.from(types.entries()), isCloud); diff --git a/package-lock.json b/package-lock.json index 652df7f..7232ddb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@redpanda-data/docs-extensions-and-macros", - "version": "3.8.0", + "version": "3.9.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@redpanda-data/docs-extensions-and-macros", - "version": "3.8.0", + "version": "3.9.0", "license": "ISC", "dependencies": { "@asciidoctor/tabs": "^1.0.0-beta.6", diff --git a/package.json b/package.json index d9c474b..10c9185 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@redpanda-data/docs-extensions-and-macros", - "version": "3.8.0", + "version": "3.9.0", "description": "Antora extensions and macros developed for Redpanda documentation.", "keywords": [ "antora",