Drop document type

This commit is contained in:
Mike Farah
2023-06-05 15:27:59 -07:00
parent 28909bbc5a
commit b2415f2ca5
67 changed files with 346 additions and 486 deletions
@@ -75,11 +75,6 @@ yq '[... | {"p": path | join("."), "isKey": is_key, "hc": headComment, "lc": lin
```
will output
```yaml
- p: ""
isKey: false
hc: ""
lc: ""
fc: ""
- p: ""
isKey: false
hc: ""
@@ -140,11 +135,6 @@ yq '[... | {"p": path | join("."), "isKey": is_key, "hc": headComment, "lc": lin
```
will output
```yaml
- p: ""
isKey: false
hc: ""
lc: ""
fc: ""
- p: ""
isKey: false
hc: ""
@@ -197,7 +187,6 @@ yq '. head_comment="single"' sample.yml
will output
```yaml
# single
a: cat
```
@@ -31,7 +31,6 @@ yq '..' sample.yml
will output
```yaml
a: frog
a: frog
frog
```
@@ -93,7 +92,6 @@ yq '...' sample.yml
will output
```yaml
a: frog
a: frog
a
frog
```
@@ -111,9 +109,6 @@ yq '[..]' sample.yml
```
will output
```yaml
- a: &cat
c: frog
b: *cat
- a: &cat
c: frog
b: *cat