You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/02/01 10:57:35 UTC

[camel-k] 01/02: chore(doc): Monospaced property and type trait configuration options columns

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

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit fce102995eb51145d158ebcb6a32a2f554a4cd4b
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Feb 1 10:37:16 2021 +0100

    chore(doc): Monospaced property and type trait configuration options columns
---
 cmd/util/doc-gen/generators/traitdocgen.go     | 2 +-
 docs/modules/traits/pages/3scale.adoc          | 2 +-
 docs/modules/traits/pages/affinity.adoc        | 2 +-
 docs/modules/traits/pages/builder.adoc         | 2 +-
 docs/modules/traits/pages/camel.adoc           | 2 +-
 docs/modules/traits/pages/container.adoc       | 2 +-
 docs/modules/traits/pages/cron.adoc            | 2 +-
 docs/modules/traits/pages/dependencies.adoc    | 2 +-
 docs/modules/traits/pages/deployer.adoc        | 2 +-
 docs/modules/traits/pages/deployment.adoc      | 2 +-
 docs/modules/traits/pages/environment.adoc     | 2 +-
 docs/modules/traits/pages/gc.adoc              | 2 +-
 docs/modules/traits/pages/ingress.adoc         | 2 +-
 docs/modules/traits/pages/istio.adoc           | 2 +-
 docs/modules/traits/pages/jolokia.adoc         | 2 +-
 docs/modules/traits/pages/jvm.adoc             | 2 +-
 docs/modules/traits/pages/kamelets.adoc        | 2 +-
 docs/modules/traits/pages/knative-service.adoc | 2 +-
 docs/modules/traits/pages/knative.adoc         | 2 +-
 docs/modules/traits/pages/master.adoc          | 2 +-
 docs/modules/traits/pages/openapi.adoc         | 2 +-
 docs/modules/traits/pages/owner.adoc           | 2 +-
 docs/modules/traits/pages/pdb.adoc             | 2 +-
 docs/modules/traits/pages/platform.adoc        | 2 +-
 docs/modules/traits/pages/prometheus.adoc      | 2 +-
 docs/modules/traits/pages/pull-secret.adoc     | 2 +-
 docs/modules/traits/pages/quarkus.adoc         | 2 +-
 docs/modules/traits/pages/route.adoc           | 2 +-
 docs/modules/traits/pages/service.adoc         | 2 +-
 docs/modules/traits/pages/tracing.adoc         | 2 +-
 30 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/cmd/util/doc-gen/generators/traitdocgen.go b/cmd/util/doc-gen/generators/traitdocgen.go
index ec3ef23..0e5bc03 100644
--- a/cmd/util/doc-gen/generators/traitdocgen.go
+++ b/cmd/util/doc-gen/generators/traitdocgen.go
@@ -185,7 +185,7 @@ func writeFields(t *types.Type, traitID string, content *[]string) {
 	}
 	res = append(res, "```")
 	res = append(res, "The following configuration options are available:", "")
-	res = append(res, "[cols=\"2,1,5a\"]", "|===")
+	res = append(res, "[cols=\"2m,1m,5a\"]", "|===")
 	res = append(res, "|Property | Type | Description", "")
 	writeMembers(t, traitID, &res)
 	res = append(res, "|===", "", adocConfigurationMarkerEnd)
diff --git a/docs/modules/traits/pages/3scale.adoc b/docs/modules/traits/pages/3scale.adoc
index cd7d0ec..fd7ab9f 100755
--- a/docs/modules/traits/pages/3scale.adoc
+++ b/docs/modules/traits/pages/3scale.adoc
@@ -19,7 +19,7 @@ kamel run --trait 3scale.[key]=[value] --trait 3scale.[key2]=[value2] integratio
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/affinity.adoc b/docs/modules/traits/pages/affinity.adoc
index 6b1b98d..6f2cddf 100755
--- a/docs/modules/traits/pages/affinity.adoc
+++ b/docs/modules/traits/pages/affinity.adoc
@@ -19,7 +19,7 @@ kamel run --trait affinity.[key]=[value] --trait affinity.[key2]=[value2] integr
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/builder.adoc b/docs/modules/traits/pages/builder.adoc
index ecfb1ee..3e89d9b 100755
--- a/docs/modules/traits/pages/builder.adoc
+++ b/docs/modules/traits/pages/builder.adoc
@@ -19,7 +19,7 @@ kamel run --trait builder.[key]=[value] --trait builder.[key2]=[value2] integrat
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/camel.adoc b/docs/modules/traits/pages/camel.adoc
index cc73caf..6331571 100755
--- a/docs/modules/traits/pages/camel.adoc
+++ b/docs/modules/traits/pages/camel.adoc
@@ -18,7 +18,7 @@ kamel run --trait camel.[key]=[value] --trait camel.[key2]=[value2] integration.
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/container.adoc b/docs/modules/traits/pages/container.adoc
index ff6880d..6d72170 100755
--- a/docs/modules/traits/pages/container.adoc
+++ b/docs/modules/traits/pages/container.adoc
@@ -20,7 +20,7 @@ kamel run --trait container.[key]=[value] --trait container.[key2]=[value2] inte
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/cron.adoc b/docs/modules/traits/pages/cron.adoc
index d640388..9d80895 100755
--- a/docs/modules/traits/pages/cron.adoc
+++ b/docs/modules/traits/pages/cron.adoc
@@ -28,7 +28,7 @@ kamel run --trait cron.[key]=[value] --trait cron.[key2]=[value2] integration.gr
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/dependencies.adoc b/docs/modules/traits/pages/dependencies.adoc
index c1c94fb..c4490ca 100755
--- a/docs/modules/traits/pages/dependencies.adoc
+++ b/docs/modules/traits/pages/dependencies.adoc
@@ -19,7 +19,7 @@ kamel run --trait dependencies.[key]=[value] integration.groovy
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/deployer.adoc b/docs/modules/traits/pages/deployer.adoc
index f98c43a..ba7f664 100755
--- a/docs/modules/traits/pages/deployer.adoc
+++ b/docs/modules/traits/pages/deployer.adoc
@@ -19,7 +19,7 @@ kamel run --trait deployer.[key]=[value] --trait deployer.[key2]=[value2] integr
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/deployment.adoc b/docs/modules/traits/pages/deployment.adoc
index 3626683..a09a244 100755
--- a/docs/modules/traits/pages/deployment.adoc
+++ b/docs/modules/traits/pages/deployment.adoc
@@ -19,7 +19,7 @@ kamel run --trait deployment.[key]=[value] integration.groovy
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/environment.adoc b/docs/modules/traits/pages/environment.adoc
index 787c00e..ef803ff 100755
--- a/docs/modules/traits/pages/environment.adoc
+++ b/docs/modules/traits/pages/environment.adoc
@@ -19,7 +19,7 @@ kamel run --trait environment.[key]=[value] --trait environment.[key2]=[value2]
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/gc.adoc b/docs/modules/traits/pages/gc.adoc
index 0b61f3e..51a3b26 100755
--- a/docs/modules/traits/pages/gc.adoc
+++ b/docs/modules/traits/pages/gc.adoc
@@ -16,7 +16,7 @@ kamel run --trait gc.[key]=[value] --trait gc.[key2]=[value2] integration.groovy
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/ingress.adoc b/docs/modules/traits/pages/ingress.adoc
index 3024409..df0d455 100755
--- a/docs/modules/traits/pages/ingress.adoc
+++ b/docs/modules/traits/pages/ingress.adoc
@@ -19,7 +19,7 @@ kamel run --trait ingress.[key]=[value] --trait ingress.[key2]=[value2] integrat
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/istio.adoc b/docs/modules/traits/pages/istio.adoc
index 0814683..23a072a 100755
--- a/docs/modules/traits/pages/istio.adoc
+++ b/docs/modules/traits/pages/istio.adoc
@@ -17,7 +17,7 @@ kamel run --trait istio.[key]=[value] --trait istio.[key2]=[value2] integration.
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/jolokia.adoc b/docs/modules/traits/pages/jolokia.adoc
index 9332b43..e5914ce 100755
--- a/docs/modules/traits/pages/jolokia.adoc
+++ b/docs/modules/traits/pages/jolokia.adoc
@@ -18,7 +18,7 @@ kamel run --trait jolokia.[key]=[value] --trait jolokia.[key2]=[value2] integrat
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/jvm.adoc b/docs/modules/traits/pages/jvm.adoc
index 913ef7d..9205121 100755
--- a/docs/modules/traits/pages/jvm.adoc
+++ b/docs/modules/traits/pages/jvm.adoc
@@ -18,7 +18,7 @@ kamel run --trait jvm.[key]=[value] --trait jvm.[key2]=[value2] integration.groo
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/kamelets.adoc b/docs/modules/traits/pages/kamelets.adoc
index 7409709..82da6a2 100755
--- a/docs/modules/traits/pages/kamelets.adoc
+++ b/docs/modules/traits/pages/kamelets.adoc
@@ -18,7 +18,7 @@ kamel run --trait kamelets.[key]=[value] --trait kamelets.[key2]=[value2] integr
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/knative-service.adoc b/docs/modules/traits/pages/knative-service.adoc
index 0aaba4f..8051d69 100755
--- a/docs/modules/traits/pages/knative-service.adoc
+++ b/docs/modules/traits/pages/knative-service.adoc
@@ -20,7 +20,7 @@ kamel run --trait knative-service.[key]=[value] --trait knative-service.[key2]=[
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/knative.adoc b/docs/modules/traits/pages/knative.adoc
index 6660115..2427c8e 100755
--- a/docs/modules/traits/pages/knative.adoc
+++ b/docs/modules/traits/pages/knative.adoc
@@ -22,7 +22,7 @@ kamel run --trait knative.[key]=[value] --trait knative.[key2]=[value2] integrat
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/master.adoc b/docs/modules/traits/pages/master.adoc
index ded352e..4ca20c4 100755
--- a/docs/modules/traits/pages/master.adoc
+++ b/docs/modules/traits/pages/master.adoc
@@ -22,7 +22,7 @@ kamel run --trait master.[key]=[value] --trait master.[key2]=[value2] integratio
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/openapi.adoc b/docs/modules/traits/pages/openapi.adoc
index 8d455cf..ad814df 100755
--- a/docs/modules/traits/pages/openapi.adoc
+++ b/docs/modules/traits/pages/openapi.adoc
@@ -18,7 +18,7 @@ kamel run --trait openapi.[key]=[value] integration.groovy
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/owner.adoc b/docs/modules/traits/pages/owner.adoc
index 2a8e4c8..f020cd0 100755
--- a/docs/modules/traits/pages/owner.adoc
+++ b/docs/modules/traits/pages/owner.adoc
@@ -19,7 +19,7 @@ kamel run --trait owner.[key]=[value] --trait owner.[key2]=[value2] integration.
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/pdb.adoc b/docs/modules/traits/pages/pdb.adoc
index 56da0c7..fc34890 100755
--- a/docs/modules/traits/pages/pdb.adoc
+++ b/docs/modules/traits/pages/pdb.adoc
@@ -16,7 +16,7 @@ kamel run --trait pdb.[key]=[value] --trait pdb.[key2]=[value2] integration.groo
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/platform.adoc b/docs/modules/traits/pages/platform.adoc
index 5e8a088..959dead 100755
--- a/docs/modules/traits/pages/platform.adoc
+++ b/docs/modules/traits/pages/platform.adoc
@@ -22,7 +22,7 @@ kamel run --trait platform.[key]=[value] --trait platform.[key2]=[value2] integr
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/prometheus.adoc b/docs/modules/traits/pages/prometheus.adoc
index 1bc57ac..7530ebf 100755
--- a/docs/modules/traits/pages/prometheus.adoc
+++ b/docs/modules/traits/pages/prometheus.adoc
@@ -26,7 +26,7 @@ kamel run --trait prometheus.[key]=[value] --trait prometheus.[key2]=[value2] in
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/pull-secret.adoc b/docs/modules/traits/pages/pull-secret.adoc
index 49cc88e..864ae2d 100755
--- a/docs/modules/traits/pages/pull-secret.adoc
+++ b/docs/modules/traits/pages/pull-secret.adoc
@@ -25,7 +25,7 @@ kamel run --trait pull-secret.[key]=[value] --trait pull-secret.[key2]=[value2]
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/quarkus.adoc b/docs/modules/traits/pages/quarkus.adoc
index 08687c1..1332800 100755
--- a/docs/modules/traits/pages/quarkus.adoc
+++ b/docs/modules/traits/pages/quarkus.adoc
@@ -20,7 +20,7 @@ kamel run --trait quarkus.[key]=[value] --trait quarkus.[key2]=[value2] integrat
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/route.adoc b/docs/modules/traits/pages/route.adoc
index 791a08f..84759de 100755
--- a/docs/modules/traits/pages/route.adoc
+++ b/docs/modules/traits/pages/route.adoc
@@ -16,7 +16,7 @@ kamel run --trait route.[key]=[value] --trait route.[key2]=[value2] integration.
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/service.adoc b/docs/modules/traits/pages/service.adoc
index 28878f3..ae3da65 100755
--- a/docs/modules/traits/pages/service.adoc
+++ b/docs/modules/traits/pages/service.adoc
@@ -19,7 +19,7 @@ kamel run --trait service.[key]=[value] --trait service.[key2]=[value2] integrat
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description
 
diff --git a/docs/modules/traits/pages/tracing.adoc b/docs/modules/traits/pages/tracing.adoc
index b6ece21..2387247 100755
--- a/docs/modules/traits/pages/tracing.adoc
+++ b/docs/modules/traits/pages/tracing.adoc
@@ -21,7 +21,7 @@ kamel run --trait tracing.[key]=[value] --trait tracing.[key2]=[value2] integrat
 ```
 The following configuration options are available:
 
-[cols="2,1,5a"]
+[cols="2m,1m,5a"]
 |===
 |Property | Type | Description