yaml: Docs don't help-lint unless the yaml library is present.
We need a better docs system, after .98vm-warnings
parent
76f4678a96
commit
0b0ead5135
|
@ -156,7 +156,7 @@ ARTICLE: "yaml-keys" "Special mapping keys"
|
||||||
"See " { $url "http://yaml.org/type/merge.html" } $nl
|
"See " { $url "http://yaml.org/type/merge.html" } $nl
|
||||||
"As per " { $url "http://sourceforge.net/p/yaml/mailman/message/12308050" }
|
"As per " { $url "http://sourceforge.net/p/yaml/mailman/message/12308050" }
|
||||||
", the merge key is implemented bottom up:" $nl
|
", the merge key is implemented bottom up:" $nl
|
||||||
{ $example "USING: yaml prettyprint ;
|
{ $unchecked-example "USING: yaml prettyprint ;
|
||||||
\"
|
\"
|
||||||
foo: 1
|
foo: 1
|
||||||
<<:
|
<<:
|
||||||
|
@ -167,7 +167,7 @@ foo: 1
|
||||||
"H{ { \"baz\" 3 } { \"foo\" 1 } { \"bar\" 2 } }" }
|
"H{ { \"baz\" 3 } { \"foo\" 1 } { \"bar\" 2 } }" }
|
||||||
{ $heading "!!value" }
|
{ $heading "!!value" }
|
||||||
"See " { $url "http://yaml.org/type/value.html" } $nl
|
"See " { $url "http://yaml.org/type/value.html" } $nl
|
||||||
{ $example "USING: yaml prettyprint ;
|
{ $unchecked-example "USING: yaml prettyprint ;
|
||||||
\"
|
\"
|
||||||
--- # Old schema
|
--- # Old schema
|
||||||
link with:
|
link with:
|
||||||
|
@ -205,7 +205,7 @@ ARTICLE: "yaml" "YAML serialization"
|
||||||
}
|
}
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $heading "Input" }
|
{ $heading "Input" }
|
||||||
{ $example "USING: prettyprint yaml ;"
|
{ $unchecked-example "USING: prettyprint yaml ;"
|
||||||
"\"- true
|
"\"- true
|
||||||
- null
|
- null
|
||||||
- ! 42
|
- ! 42
|
||||||
|
@ -218,7 +218,7 @@ ARTICLE: "yaml" "YAML serialization"
|
||||||
"{ t f \"42\" \"42\" 42 42 42 42.0 42.0 }"
|
"{ t f \"42\" \"42\" 42 42 42 42.0 42.0 }"
|
||||||
}
|
}
|
||||||
{ $heading "Output -- human readable" }
|
{ $heading "Output -- human readable" }
|
||||||
{ $example "USING: yaml yaml.config ;"
|
{ $unchecked-example "USING: yaml yaml.config ;"
|
||||||
"t implicit-tags set
|
"t implicit-tags set
|
||||||
t implicit-start set
|
t implicit-start set
|
||||||
t implicit-end set
|
t implicit-end set
|
||||||
|
@ -249,7 +249,7 @@ t emitter-unicode set
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
{ $heading "Output -- verbose" }
|
{ $heading "Output -- verbose" }
|
||||||
{ $example "USING: yaml yaml.config ;"
|
{ $unchecked-example "USING: yaml yaml.config ;"
|
||||||
"f implicit-tags set
|
"f implicit-tags set
|
||||||
f implicit-start set
|
f implicit-start set
|
||||||
f implicit-end set
|
f implicit-end set
|
||||||
|
|
Loading…
Reference in New Issue