@redpanda-data/docs-extensions-and-macros 4.14.0 → 4.14.1

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.
@@ -216,7 +216,15 @@ module.exports.register = function ({ config }) {
216
216
 
217
217
  // Warn about missing docs (but not for deprecated or SQL drivers)
218
218
  if (deprecated !== 'y' && !connector.includes('sql_driver')) {
219
- if (!redpandaConnectUrl) {
219
+ // Check if this is a cloud-only connector (plugin)
220
+ // Cloud-only connectors (like 'gateway' and 'a2a_message') are plugins that:
221
+ // - Only run in Redpanda Cloud (not in self-managed rpk connect)
222
+ // - Have docs in cloud-docs repo but not in rp-connect-docs pages
223
+ // - Are marked with cloud: y in CSV but don't ship with OSS binary
224
+ const isCloudOnly = isCloudSupported === 'y' && !redpandaConnectUrl && redpandaCloudUrl
225
+
226
+ // Only warn about missing self-managed docs if it's NOT cloud-only
227
+ if (!redpandaConnectUrl && !isCloudOnly) {
220
228
  logger.warn(`Self-Managed docs missing for: ${connector} of type: ${type}`)
221
229
  }
222
230
  if (isCloudSupported === 'y' && !redpandaCloudUrl && redpandaConnectUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redpanda-data/docs-extensions-and-macros",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "description": "Antora extensions and macros developed for Redpanda documentation.",
5
5
  "keywords": [
6
6
  "antora",
@@ -122,7 +122,7 @@
122
122
  "tree-sitter": "^0.22.4",
123
123
  "turndown": "^7.2.2",
124
124
  "turndown-plugin-gfm": "^1.0.2",
125
- "yaml": "^2.7.1",
125
+ "yaml": "^2.8.2",
126
126
  "yargs": "^17.7.2"
127
127
  },
128
128
  "devDependencies": {
@@ -105,7 +105,7 @@ module.exports = function renderConnectFields(children, prefix = '') {
105
105
  // Complex object/array
106
106
  else if (typeof child.default === 'object') {
107
107
  const defYaml = yaml.stringify(child.default, {
108
- defaultStringType: 'PLAIN',
108
+ defaultStringType: 'QUOTE_DOUBLE',
109
109
  defaultKeyType: 'PLAIN',
110
110
  lineWidth: 0,
111
111
  simpleKeys: false
@@ -50,7 +50,7 @@ module.exports = function renderLeafField(field, indentLevel) {
50
50
  try {
51
51
  // Force block style for all arrays and nested structures
52
52
  const rawYaml = yaml.stringify(field.default, {
53
- defaultStringType: 'PLAIN',
53
+ defaultStringType: 'QUOTE_DOUBLE',
54
54
  defaultKeyType: 'PLAIN',
55
55
  lineWidth: 0, // Disable line wrapping to prevent flow style
56
56
  simpleKeys: false
@@ -8,7 +8,7 @@ const yaml = require('yaml');
8
8
  */
9
9
  module.exports = function toYaml(obj) {
10
10
  return yaml.stringify(obj, {
11
- defaultStringType: 'PLAIN',
11
+ defaultStringType: 'QUOTE_DOUBLE',
12
12
  defaultKeyType: 'PLAIN',
13
13
  lineWidth: 0, // Disable line wrapping to prevent flow style
14
14
  simpleKeys: false