Skip to content

Commit 9257fa3

Browse files
committed
fix(ci): trait regen
1 parent 68c1ec4 commit 9257fa3

38 files changed

Lines changed: 43 additions & 570 deletions

cmd/util/doc-gen/generators/traitdocgen.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,11 @@ func writeFields(t *types.Type, traitID string, content *[]string) {
229229
res = append(res, "[cols=\"2m,1m,5a\"]", "|===")
230230
res = append(res, "|Property | Type | Description", "")
231231
writeMembers(t, traitID, &res)
232-
res = append(res, "|===", "", adocConfigurationMarkerEnd)
232+
res = append(res, "|===")
233233
res = append(res, "")
234234
res = append(res, "NOTE: the variable names are \"snake case\" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`")
235235
res = append(res, "")
236+
res = append(res, "", adocConfigurationMarkerEnd)
236237
res = append(res, post...)
237238
*content = res
238239
}

docs/modules/traits/pages/affinity.adoc

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,10 @@ integration pod(s) should not be co-located with.
5454

5555
|===
5656

57-
// End of autogenerated code - DO NOT EDIT! (configuration)
58-
59-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
60-
61-
62-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
63-
64-
6557
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
6658

6759

68-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
69-
70-
71-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
72-
73-
74-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
75-
60+
// End of autogenerated code - DO NOT EDIT! (configuration)
7661

7762
== Examples
7863

docs/modules/traits/pages/builder.adoc

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,25 +128,10 @@ if you need to execute them. Useful only with `pod` strategy.
128128

129129
|===
130130

131-
// End of autogenerated code - DO NOT EDIT! (configuration)
132-
133-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
134-
135-
136-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
137-
138-
139131
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
140132

141133

142-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
143-
144-
145-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
146-
147-
148-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
149-
134+
// End of autogenerated code - DO NOT EDIT! (configuration)
150135

151136
== Node Selectors
152137

docs/modules/traits/pages/camel.adoc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,7 @@ to the best matching Catalog existing on the cluster (Default, the one provided
4545

4646
|===
4747

48-
// End of autogenerated code - DO NOT EDIT! (configuration)
49-
50-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
51-
52-
53-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
54-
55-
5648
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
5749

5850

59-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
60-
61-
62-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
63-
64-
65-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
51+
// End of autogenerated code - DO NOT EDIT! (configuration)

docs/modules/traits/pages/container.adoc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -119,21 +119,7 @@ Integration `.spec.integrationKit` parameter. If you're moving the Integration a
119119

120120
|===
121121

122-
// End of autogenerated code - DO NOT EDIT! (configuration)
123-
124-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
125-
126-
127-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
128-
129-
130122
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
131123

132124

133-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
134-
135-
136-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
137-
138-
139-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
125+
// End of autogenerated code - DO NOT EDIT! (configuration)

docs/modules/traits/pages/cron.adoc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,7 @@ It defaults to 2.
9797

9898
|===
9999

100-
// End of autogenerated code - DO NOT EDIT! (configuration)
101-
102-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
103-
104-
105-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
106-
107-
108100
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
109101

110102

111-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
112-
113-
114-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
115-
116-
117-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
103+
// End of autogenerated code - DO NOT EDIT! (configuration)

docs/modules/traits/pages/deployer.adoc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,7 @@ Deprecated: this feature will be removed in future releases.
4343

4444
|===
4545

46-
// End of autogenerated code - DO NOT EDIT! (configuration)
47-
48-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
49-
50-
51-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
52-
53-
5446
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
5547

5648

57-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
58-
59-
60-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
61-
62-
63-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
49+
// End of autogenerated code - DO NOT EDIT! (configuration)

docs/modules/traits/pages/deployment.adoc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,7 @@ Defaults to `25%`.
5858

5959
|===
6060

61-
// End of autogenerated code - DO NOT EDIT! (configuration)
62-
63-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
64-
65-
66-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
67-
68-
6961
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
7062

7163

72-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
73-
74-
75-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
76-
77-
78-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
64+
// End of autogenerated code - DO NOT EDIT! (configuration)

docs/modules/traits/pages/environment.adoc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,7 @@ These take precedence over any previously defined environment variables.
4747

4848
|===
4949

50-
// End of autogenerated code - DO NOT EDIT! (configuration)
51-
52-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
53-
54-
55-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
56-
57-
5850
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
5951

6052

61-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
62-
63-
64-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
65-
66-
67-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
53+
// End of autogenerated code - DO NOT EDIT! (configuration)

docs/modules/traits/pages/gateway.adoc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,7 @@ The following configuration options are available:
4141

4242
|===
4343

44-
// End of autogenerated code - DO NOT EDIT! (configuration)
45-
46-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
47-
48-
49-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
50-
51-
5244
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
5345

5446

55-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
56-
57-
58-
NOTE: the variable names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
59-
60-
61-
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
47+
// End of autogenerated code - DO NOT EDIT! (configuration)

0 commit comments

Comments
 (0)