@redpanda-data/docs-extensions-and-macros 4.6.5 → 4.6.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redpanda-data/docs-extensions-and-macros",
3
- "version": "4.6.5",
3
+ "version": "4.6.7",
4
4
  "description": "Antora extensions and macros developed for Redpanda documentation.",
5
5
  "keywords": [
6
6
  "antora",
@@ -26,12 +26,16 @@ module.exports = function renderConnectFields(children, prefix = '') {
26
26
  sorted.forEach(child => {
27
27
  if (child.is_deprecated || !child.name) return;
28
28
 
29
- // Normalize type: arrays and unknown-map as object
29
+ // Normalize types
30
30
  let displayType;
31
31
  if (child.type === 'string' && child.kind === 'array') {
32
32
  displayType = 'array';
33
33
  } else if (child.type === 'unknown' && child.kind === 'map') {
34
34
  displayType = 'object';
35
+ } else if (child.type === 'unknown' && child.kind === 'array') {
36
+ displayType = 'array';
37
+ } else if (child.type === 'unknown' && child.kind === 'list') {
38
+ displayType = 'array';
35
39
  } else {
36
40
  displayType = child.type;
37
41
  }