Fixing random docs and tests

db4
Daniel Ehrenberg 2009-01-27 15:35:51 -06:00
parent 824df4182a
commit c01ef3fca2
3 changed files with 5 additions and 5 deletions

View File

@ -14,8 +14,8 @@ HELP: parse-farkup ( string -- farkup )
{ $description "Parses Farkup and outputs a tree of " { $link "farkup-ast" } "." } ; { $description "Parses Farkup and outputs a tree of " { $link "farkup-ast" } "." } ;
HELP: (write-farkup) HELP: (write-farkup)
{ $values { "farkup" "a Farkup syntax tree node" } } { $values { "farkup" "a Farkup syntax tree node" } { "xml" "an XML chunk" } }
{ $description "Writes a Farkup syntax tree as HTML on " { $link output-stream } "." } ; { $description "Converts a Farkup syntax tree node to XML." } ;
ARTICLE: "farkup-ast" "Farkup syntax tree nodes" ARTICLE: "farkup-ast" "Farkup syntax tree nodes"
"The " { $link parse-farkup } " word outputs a tree of nodes corresponding to the Farkup syntax of the input string. This tree can be programatically traversed and mutated before being passed on to " { $link write-farkup } "." "The " { $link parse-farkup } " word outputs a tree of nodes corresponding to the Farkup syntax of the input string. This tree can be programatically traversed and mutated before being passed on to " { $link write-farkup } "."

View File

@ -70,8 +70,8 @@ HELP: render
{ $description "Renders an HTML component to the " { $link output-stream } "." } ; { $description "Renders an HTML component to the " { $link output-stream } "." } ;
HELP: render* HELP: render*
{ $values { "value" "a value" } { "name" "a value name" } { "renderer" "a component renderer" } } { $values { "value" "a value" } { "name" "a value name" } { "renderer" "a component renderer" } { "xml" "an XML chunk" } }
{ $contract "Renders an HTML component to the " { $link output-stream } "." } ; { $contract "Renders an HTML component, outputting an XHTML snippet." } ;
ARTICLE: "html.components" "HTML components" ARTICLE: "html.components" "HTML components"
"The " { $vocab-link "html.components" } " vocabulary provides various HTML form components." "The " { $vocab-link "html.components" } " vocabulary provides various HTML form components."

View File

@ -159,7 +159,7 @@ TUPLE: person first-name last-name ;
"true" "b" set-value "true" "b" set-value
] unit-test ] unit-test
[ "<input type='checkbox' name='a'>a</input><input type='checkbox' name='b' checked='true'>b</input>" ] [ [ "<input type=\"checkbox\" name=\"a\">a</input><input type=\"checkbox\" checked=\"true\" name=\"b\">b</input>" ] [
[ [
"test12" test-template call-template "test12" test-template call-template
] run-template ] run-template