yaml: Docs don't help-lint unless the yaml library is present.

We need a better docs system, after .98
vm-warnings
Doug Coleman 2018-07-07 12:47:45 -05:00
parent 76f4678a96
commit 0b0ead5135
1 changed files with 5 additions and 5 deletions

View File

@ -156,7 +156,7 @@ ARTICLE: "yaml-keys" "Special mapping keys"
"See " { $url "http://yaml.org/type/merge.html" } $nl
"As per " { $url "http://sourceforge.net/p/yaml/mailman/message/12308050" }
", the merge key is implemented bottom up:" $nl
{ $example "USING: yaml prettyprint ;
{ $unchecked-example "USING: yaml prettyprint ;
\"
foo: 1
<<:
@ -167,7 +167,7 @@ foo: 1
"H{ { \"baz\" 3 } { \"foo\" 1 } { \"bar\" 2 } }" }
{ $heading "!!value" }
"See " { $url "http://yaml.org/type/value.html" } $nl
{ $example "USING: yaml prettyprint ;
{ $unchecked-example "USING: yaml prettyprint ;
\"
--- # Old schema
link with:
@ -205,7 +205,7 @@ ARTICLE: "yaml" "YAML serialization"
}
{ $examples
{ $heading "Input" }
{ $example "USING: prettyprint yaml ;"
{ $unchecked-example "USING: prettyprint yaml ;"
"\"- true
- null
- ! 42
@ -218,7 +218,7 @@ ARTICLE: "yaml" "YAML serialization"
"{ t f \"42\" \"42\" 42 42 42 42.0 42.0 }"
}
{ $heading "Output -- human readable" }
{ $example "USING: yaml yaml.config ;"
{ $unchecked-example "USING: yaml yaml.config ;"
"t implicit-tags set
t implicit-start set
t implicit-end set
@ -249,7 +249,7 @@ t emitter-unicode set
"
}
{ $heading "Output -- verbose" }
{ $example "USING: yaml yaml.config ;"
{ $unchecked-example "USING: yaml yaml.config ;"
"f implicit-tags set
f implicit-start set
f implicit-end set