@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 +1 -1
- package/tools/property-extractor/property_extractor.py +7 -4
- package/tools/property-extractor/templates/property-cloud.hbs +2 -6
- package/tools/property-extractor/templates/property.hbs +3 -7
- package/tools/property-extractor/templates/topic-property-cloud.hbs +3 -6
- package/tools/property-extractor/templates/topic-property.hbs +2 -6
package/package.json
CHANGED
|
@@ -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
|
-
#
|
|
881
|
-
if prop.get("
|
|
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
|
|
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}}
|