File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
{ { $type .Doc } }
10
10
11
+ { {- if contains " <gateway:experimental>" $type .Doc } }
12
+ !!! warning
13
+
14
+ This field is experimental and can change before being marked as stable.
15
+ It is available on on "experimental" channel and should be used at your own risk.
16
+ { { end -} }
17
+
11
18
{ { if $type .Validation -} }
12
19
_Validation:_
13
20
{ {- range $type .Validation } }
@@ -31,7 +38,7 @@ _Appears in:_
31
38
{ { end -} }
32
39
33
40
{ { range $type .Members -} }
34
- | `{ { .Name } }`{ {- if contains " <gateway:experimental>" .Doc } } **Experimental** { { end } } _{ { markdownRenderType .Type } }_ | { { template " type_members" . } } | { { markdownRenderDefault .Default } } | { { range .Validation -} } { { markdownRenderFieldDoc . } } <br />{ { end } } |
41
+ | `{ { .Name } }` { {- if contains " <gateway:experimental>" .Doc } } **Experimental** { { end - } } _{ { markdownRenderType .Type } }_ | { { template " type_members" . } } | { { markdownRenderDefault .Default } } | { { range .Validation -} } { { markdownRenderFieldDoc . } } <br />{ { end } } |
35
42
{ { end -} }
36
43
37
44
{ { end -} }
Original file line number Diff line number Diff line change 3
3
{ {- if eq $field .Name " metadata" -} }
4
4
Refer to Kubernetes API documentation for fields of `metadata`.
5
5
{ {- else -} }
6
- { {- $cleanDoc := regexReplaceAllLiteral " (?s)<gateway:util:excludeFromCRD>.*?</gateway:util:excludeFromCRD>" $field .Doc " " } }
6
+ { {- $cleanDoc := regexReplaceAllLiteral " (?s)<gateway:util:excludeFromCRD>.*?</gateway:util:excludeFromCRD>" $field .Doc " " - } }
7
7
{ { markdownRenderFieldDoc $cleanDoc } }
8
8
{ {- end -} }
9
9
{ {- end -} }
You can’t perform that action at this time.
0 commit comments