This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new f8a59b9cd954 CAMEL-24175: Remove incorrect option counts from 
documentation page headers
f8a59b9cd954 is described below

commit f8a59b9cd954f7e9fa7b19ab59994762fbfa41bf
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jul 17 15:57:03 2026 +0200

    CAMEL-24175: Remove incorrect option counts from documentation page headers
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 .../main/docs/modules/eips/partials/eip-exchangeProperties.adoc  | 2 +-
 .../src/main/docs/modules/eips/partials/eip-options.adoc         | 9 +--------
 .../modules/ROOT/partials/component-endpoint-headers.adoc        | 2 +-
 .../modules/ROOT/partials/component-endpoint-options.adoc        | 8 ++++----
 .../modules/dataformats/partials/dataformat-options.adoc         | 8 +-------
 docs/components/modules/languages/partials/language-options.adoc | 8 +-------
 6 files changed, 9 insertions(+), 28 deletions(-)

diff --git 
a/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-exchangeProperties.adoc
 
b/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-exchangeProperties.adoc
index 2da3b2bad2cd..c0e19d68f246 100644
--- 
a/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-exchangeProperties.adoc
+++ 
b/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-exchangeProperties.adoc
@@ -10,7 +10,7 @@ ifeval::[{optioncount} == 0]
 The {doctitle} eip has no exchange properties.
 endif::[]
 ifeval::[{optioncount} != 0]
-The {doctitle} eip supports {optioncount} exchange properties, which are 
listed below.
+The {doctitle} eip supports the following exchange properties which are listed 
below.
 
 The exchange properties are set on the `Exchange` by the EIP, unless otherwise 
specified in the description.
 This means those properties are available after this EIP has completed 
processing the `Exchange`.
diff --git 
a/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-options.adoc 
b/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-options.adoc
index 8301ea1052b4..470b20c31019 100644
--- 
a/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-options.adoc
+++ 
b/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-options.adoc
@@ -4,13 +4,8 @@
 |util.valueAsString(value.defaultValue) \
 |util.javaSimpleName(value.javaType)'
 :requires: 'util=util/jsonpath-util.js'
-include::jsonpathcount$example$json/{shortname}.json[queries='optioncount=nodes$.properties[?(@.displayName!="Id"
 && @.displayName!="Description" && @.displayName!="Expression" && 
@.displayName!="Outputs")]']
 
-ifeval::[{optioncount} == 0]
-The {doctitle} eip has no options.
-endif::[]
-ifeval::[{optioncount} != 0]
-The {doctitle} eip supports {optioncount} options, which are listed below.
+The {doctitle} eip supports the following options which are listed below.
 
 
 [{tablespec}]
@@ -19,5 +14,3 @@ The {doctitle} eip supports {optioncount} options, which are 
listed below.
 |===
 
 
jsonpathTable::example$json/{shortname}.json['nodes$.properties[?(@.displayName!="Id")]',{cellformats},{requires}]
-endif::[]
-
diff --git 
a/docs/components/modules/ROOT/partials/component-endpoint-headers.adoc 
b/docs/components/modules/ROOT/partials/component-endpoint-headers.adoc
index d5d182f7e69d..f6c5b0b415cf 100644
--- a/docs/components/modules/ROOT/partials/component-endpoint-headers.adoc
+++ b/docs/components/modules/ROOT/partials/component-endpoint-headers.adoc
@@ -10,7 +10,7 @@ 
include::jsonpathcount$example$json/{shortname}.json[queries='headercount=nodes$
 ifeval::[{headercount} != 0]
 == Message Headers
 
-The {doctitle} component supports {headercount} message header(s), which 
is/are listed below:
+The {doctitle} component supports the following message header(s), which 
is/are listed below:
 
 [{tablespec}]
 |===
diff --git 
a/docs/components/modules/ROOT/partials/component-endpoint-options.adoc 
b/docs/components/modules/ROOT/partials/component-endpoint-options.adoc
index 623fb3f38302..a2c4c086f808 100644
--- a/docs/components/modules/ROOT/partials/component-endpoint-options.adoc
+++ b/docs/components/modules/ROOT/partials/component-endpoint-options.adoc
@@ -8,11 +8,11 @@
 |util.valueAsString(value.defaultValue) \
 |util.javaSimpleName(value.javaType)
 
include::jsonpath$example$json/{shortname}.json[query='$.component',formats='name,scheme,pascalcasescheme=util.pascalCase(scheme),syntax,apiSyntax',
 requires={requires}]
-include::jsonpathcount$example$json/{shortname}.json[queries='propertycount=nodes$.componentProperties.*,pathparametercount=nodes$.properties[?(@.kind=="path")],queryparametercount=nodes$.properties[?(@.kind=="parameter")],apicount=nodes$.apis.*']
+include::jsonpathcount$example$json/{shortname}.json[queries='pathparametercount=nodes$.properties[?(@.kind=="path")],queryparametercount=nodes$.properties[?(@.kind=="parameter")],apicount=nodes$.apis.*']
 
 == Component Options
 
-The {doctitle} component supports {propertycount} options, which are listed 
below.
+The {doctitle} component supports the following options which are listed below.
 
 [{tablespec}]
 |===
@@ -34,7 +34,7 @@ The {doctitle} endpoint is configured using URI syntax:
 
 With the following _path_ and _query_ parameters:
 
-=== Path Parameters ({pathparametercount} parameters)
+=== Path Parameters
 
 ifeval::[{pathparametercount} == 0]
 The {doctitle} endpoint has no path parameters.
@@ -51,7 +51,7 @@ 
jsonpathTable::example$json/{shortname}.json['nodes$.properties[?(@.kind=="path"
 endif::[]
 
 [#_query_parameters]
-=== Query Parameters ({queryparametercount} parameters)
+=== Query Parameters
 
 ifeval::[{queryparametercount} == 0]
 The {doctitle} endpoint has no _query_ parameters.
diff --git 
a/docs/components/modules/dataformats/partials/dataformat-options.adoc 
b/docs/components/modules/dataformats/partials/dataformat-options.adoc
index 206463b89ebd..fd65dff21b79 100644
--- a/docs/components/modules/dataformats/partials/dataformat-options.adoc
+++ b/docs/components/modules/dataformats/partials/dataformat-options.adoc
@@ -3,13 +3,8 @@
 |util.valueAsString(value.defaultValue) \
 |util.pascalCase(value.type) \
 |util.description(value)'
-include::jsonpathcount$example$json/{shortname}.json[queries='optioncount=nodes$.properties[?(@.displayName!="Id")]']
 
-ifeval::[{optioncount} == 0]
-The {doctitle} dataformat has no options.
-endif::[]
-ifeval::[{optioncount} != 0]
-The {doctitle} dataformat supports {optioncount} options, which are listed 
below.
+The {doctitle} dataformat supports the following options which are listed 
below.
 
 
 [{tablespec}]
@@ -18,5 +13,4 @@ The {doctitle} dataformat supports {optioncount} options, 
which are listed below
 |===
 
 
jsonpathTable::example$json/{shortname}.json['nodes$.properties[?(@.displayName!="Id")]',{cellformats},{requires}]
-endif::[]
 
diff --git a/docs/components/modules/languages/partials/language-options.adoc 
b/docs/components/modules/languages/partials/language-options.adoc
index 90cd07885334..b042b09b8ded 100644
--- a/docs/components/modules/languages/partials/language-options.adoc
+++ b/docs/components/modules/languages/partials/language-options.adoc
@@ -3,13 +3,8 @@
 |util.valueAsString(value.defaultValue) \
 |util.pascalCase(value.type) \
 |util.description(value)'
-include::jsonpathcount$example$json/{shortname}.json[queries='optioncount=nodes$.properties[?(@.kind=="attribute"
 && @.displayName!="Id")]']
 
-ifeval::[{optioncount} == 0]
-The {doctitle} language has no options.
-endif::[]
-ifeval::[{optioncount} != 0]
-The {doctitle} language supports {optioncount} options, which are listed below.
+The {doctitle} language supports the following options which are listed below.
 
 
 [{tablespec}]
@@ -18,5 +13,4 @@ The {doctitle} language supports {optioncount} options, which 
are listed below.
 |===
 
 
jsonpathTable::example$json/{shortname}.json['nodes$.properties[?(@.kind=="attribute"
 && @.displayName!="Id")]',{cellformats},{requires}]
-endif::[]
 

Reply via email to