@redpanda-data/docs-extensions-and-macros 3.7.1 → 3.7.2

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.
@@ -619,7 +619,7 @@ module.exports.register = function (registry, context) {
619
619
  });
620
620
 
621
621
  /**
622
- * Registers a block macro to generate a dropdown for component types and display metadata about the selected component.
622
+ * Registers a block macro to display metadata about the selected component.
623
623
  *
624
624
  * This macro creates a dropdown to select different types of a connector component, such as Input, Output, or Processor.
625
625
  * It also provides links to the corresponding Cloud or Self-Managed documentation for the selected component type, and displays information on whether the connector requires an enterprise license.
@@ -697,11 +697,13 @@ module.exports.register = function (registry, context) {
697
697
  sortedTypes.unshift(currentType);
698
698
  }
699
699
  // Check if the component requires an Enterprise license (based on support level)
700
- const requiresEnterprise = componentRows.some(row => row.is_licensed.toLowerCase() === 'yes');
701
700
  let enterpriseLicenseInfo = '';
702
- if (requiresEnterprise) {
703
- enterpriseLicenseInfo = `
704
- <p><strong>License</strong>: This component requires an <a href="https://redpanda.com/compare-platform-editions" target="_blank">Enterprise license</a>. To upgrade, contact <a href="https://redpanda.com/try-redpanda?section=enterprise-trial" target="_blank" rel="noopener">Redpanda sales</a>.</p>`;
701
+ if (component !== 'Cloud') {
702
+ const requiresEnterprise = componentRows.some(row => row.is_licensed.toLowerCase() === 'yes');
703
+ if (requiresEnterprise) {
704
+ enterpriseLicenseInfo = `
705
+ <p><strong>License</strong>: This component requires an <a href="https://redpanda.com/compare-platform-editions" target="_blank">Enterprise license</a>. To upgrade, contact <a href="https://redpanda.com/try-redpanda?section=enterprise-trial" target="_blank" rel="noopener">Redpanda sales</a>.</p>`;
706
+ }
705
707
  }
706
708
  const isCloudSupported = componentRows.some(row => row.is_cloud_supported === 'y');
707
709
  let availableInInfo = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redpanda-data/docs-extensions-and-macros",
3
- "version": "3.7.1",
3
+ "version": "3.7.2",
4
4
  "description": "Antora extensions and macros developed for Redpanda documentation.",
5
5
  "keywords": [
6
6
  "antora",