Commit 6420cd9
committed
docs: Ignore YAML multiple document error
The new version of rstcheck complains:
network/kubernetes/kubeproxy-free.rst:1011:
(ERROR/3) (yaml) expected a single document in the stream
in "<unicode string>", line 1, column 1:
apiVersion: v1
^
but found another document
in "<unicode string>", line 14, column 1:
---
^
The error repeats a few times. In many cases, we want to include a full
kubernetes YAML example that includes multiple resources, such as a
Kubernetes Service and its corresponding EndpointSlices. Therefore it's
not critical for all of the YAML documents in the tree to conform to
completely standard YAML; multi-document YAMLs is commonly accepted
syntax for kubectl tools that we would work with.
Signed-off-by: Joe Stringer <[email protected]>1 parent cb21a81 commit 6420cd9
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
0 commit comments