@redpanda-data/docs-extensions-and-macros 4.10.2 → 4.10.3

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.10.2",
3
+ "version": "4.10.3",
4
4
  "description": "Antora extensions and macros developed for Redpanda documentation.",
5
5
  "keywords": [
6
6
  "antora",
@@ -877,15 +877,18 @@ def add_config_scope(properties):
877
877
  if prop.get("is_topic_property", False):
878
878
  prop["config_scope"] = "topic"
879
879
  else:
880
- # For override-created properties, preserve existing config_scope if set
881
- if prop.get("defined_in") == "override" and prop.get("config_scope") is not None:
882
- # Keep the existing config_scope from override
880
+ # Skip config_scope assignment if it's already been set by an override
881
+ if prop.get("config_scope") is not None:
882
+ # Keep the existing config_scope from override or previous assignment
883
883
  pass
884
884
  else:
885
885
  defined_in = prop.get("defined_in", "")
886
886
  if defined_in == "src/v/config/configuration.cc":
887
887
  prop["config_scope"] = "cluster"
888
- elif defined_in == "src/v/config/node_config.cc":
888
+ elif defined_in in ["src/v/config/node_config.cc",
889
+ "src/v/pandaproxy/rest/configuration.cc",
890
+ "src/v/kafka/client/configuration.cc",
891
+ "src/v/pandaproxy/schema_registry/configuration.cc"]:
889
892
  prop["config_scope"] = "broker"
890
893
  else:
891
894
  prop["config_scope"] = None
@@ -1,3 +1,4 @@
1
+ {{#unless is_deprecated}}
1
2
  {{#if cloud_supported}}
2
3
  // tag::redpanda-cloud[]
3
4
  {{/if}}
@@ -91,14 +92,9 @@ endif::[]
91
92
  *Aliases:* {{join aliases ", "}}
92
93
  // end::self-managed-only[]
93
94
  {{/if}}
94
- {{#if is_deprecated}}
95
95
 
96
- [WARNING]
97
- ====
98
- This property is deprecated.
99
- ====
100
- {{/if}}
101
96
  ---
102
97
  {{#if cloud_supported}}
103
98
  // end::redpanda-cloud[]
104
99
  {{/if}}
100
+ {{/unless}}
@@ -1,3 +1,4 @@
1
+ {{#unless is_deprecated}}
1
2
  === {{name}}
2
3
 
3
4
  {{#if version}}
@@ -74,11 +75,6 @@ endif::[]
74
75
 
75
76
  *Aliases:* {{join aliases ", "}}
76
77
  {{/if}}
77
- {{#if is_deprecated}}
78
-
79
- [WARNING]
80
- ====
81
- This property is deprecated.
82
- ====
83
- {{/if}}
84
78
  ---
79
+ {{/unless}}
80
+
@@ -1,3 +1,4 @@
1
+ {{#unless is_deprecated}}
1
2
  {{#if cloud_supported}}
2
3
  // tag::redpanda-cloud[]
3
4
  {{/if}}
@@ -84,14 +85,10 @@ endif::[]
84
85
  *Aliases:* {{join aliases ", "}}
85
86
  // end::self-managed-only[]
86
87
  {{/if}}
87
- {{#if is_deprecated}}
88
88
 
89
- [WARNING]
90
- ====
91
- This property is deprecated.
92
- ====
93
- {{/if}}
94
89
  ---
95
90
  {{#if cloud_supported}}
96
91
  // end::redpanda-cloud[]
97
92
  {{/if}}
93
+
94
+ {{/unless}}
@@ -1,3 +1,4 @@
1
+ {{#unless is_deprecated}}
1
2
  === {{name}}
2
3
  {{#if version}}
3
4
 
@@ -63,11 +64,6 @@ endif::[]
63
64
 
64
65
  *Aliases:* {{join aliases ", "}}
65
66
  {{/if}}
66
- {{#if is_deprecated}}
67
67
 
68
- [WARNING]
69
- ====
70
- This property is deprecated.
71
- ====
72
- {{/if}}
73
68
  ---
69
+ {{/unless}}