This is an automated email from the ASF dual-hosted git repository. djencks pushed a commit to branch camel-3.12.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 06bf7a9516babf470d774c791c03ffbebc149715 Author: David Jencks <[email protected]> AuthorDate: Sat Oct 9 00:22:38 2021 -0700 Use util boldLink method to construct cell links --- .../modules/ROOT/partials/component-endpoint-options.adoc | 12 +++++------- .../modules/dataformats/partials/dataformat-options.adoc | 7 +++---- .../modules/languages/partials/language-options.adoc | 7 +++---- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/docs/components/modules/ROOT/partials/component-endpoint-options.adoc b/docs/components/modules/ROOT/partials/component-endpoint-options.adoc index eb2df35..c5ab330 100644 --- a/docs/components/modules/ROOT/partials/component-endpoint-options.adoc +++ b/docs/components/modules/ROOT/partials/component-endpoint-options.adoc @@ -1,14 +1,12 @@ //component options: START -:tablespec: width="100%",cols="2,5a,^1,2",options="header" -:base-option-name: ${path[2]}]*${path[2]}* (${value.group})` -:component-option-name: `[#_component_option_{base-option-name} -:endpoint-path-option-name: `[#_endpoint_path_option_{base-option-name} -:endpoint-query-option-name: `[#_endpoint_query_option_{base-option-name} +:tablespec: width="100%",cols="2a,5a,^1,2",options="header" +:component-option-name: util.boldLink(path[2], "component_option", value.group) +:endpoint-path-option-name: util.boldLink(path[2], "endpoint_path_option", value.group) +:endpoint-query-option-name: util.boldLink(path[2], "endpoint_query_option", value.group) :last-cell-formats: |util.description(value) \ -|value.defaultValue ? `${value.defaultValue}` : "" \ +|util.defaultValue(value.defaultValue) \ |util.javaSimpleName(value.javaType) -:requires: 'util=util/jsonpath-util.js' 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='pathparametercount=nodes$.properties[?(@.kind=="path")],queryparametercount=nodes$.properties[?(@.kind=="parameter")],apicount=nodes$.apis.*'] diff --git a/docs/components/modules/dataformats/partials/dataformat-options.adoc b/docs/components/modules/dataformats/partials/dataformat-options.adoc index 29f84ad..8c284a0 100644 --- a/docs/components/modules/dataformats/partials/dataformat-options.adoc +++ b/docs/components/modules/dataformats/partials/dataformat-options.adoc @@ -1,9 +1,8 @@ -:tablespec: width="100%",cols="2,1m,1m,6a",options="header" -:cellformats: '` [#_option_${path[2]}]*${path[2]}* ` \ -| value.defaultValue ? `${value.defaultValue}` : "" \ +:tablespec: width="100%",cols="2a,1m,1m,6a",options="header" +:cellformats: 'util.boldLink(path[2], "dataformat_option", value.group) \ +|util.defaultValue(value.defaultValue) \ |util.pascalCase(value.type) \ |util.description(value)' -:requires: 'util=util/jsonpath-util.js' include::jsonpathcount$example$json/{shortname}.json[queries='optioncount=nodes$.properties[?(@.displayName!="Id")]'] ifeval::[{optioncount} == 0] diff --git a/docs/components/modules/languages/partials/language-options.adoc b/docs/components/modules/languages/partials/language-options.adoc index 9b74ec7..29bf0cc 100644 --- a/docs/components/modules/languages/partials/language-options.adoc +++ b/docs/components/modules/languages/partials/language-options.adoc @@ -1,9 +1,8 @@ -:tablespec: width="100%",cols="2,1m,1m,6a",options="header" -:cellformats: '`[#_option_${path[2]}]*${path[2]}*` \ -| value.defaultValue ? `${value.defaultValue}` : "" \ +:tablespec: width="100%",cols="2a,1m,1m,6a",options="header" +:cellformats: 'util.boldLink(path[2], "language_option", value.group) \ +|util.defaultValue(value.defaultValue) \ |util.pascalCase(value.type) \ |util.description(value)' -:requires: 'util=util/jsonpath-util.js' include::jsonpathcount$example$json/{shortname}.json[queries='optioncount=nodes$.properties[?(@.kind=="attribute" && @.displayName!="Id")]'] ifeval::[{optioncount} == 0]
