help: minor improvement in example usage of 'ARTICLE:'

db4
Keita Haga 2011-01-14 23:50:54 +09:00
parent 69353f2625
commit 2e08b85977
1 changed files with 3 additions and 1 deletions

View File

@ -491,8 +491,10 @@ HELP: ARTICLE:
{ $description "Defines a help article. String topic names are reserved for core documentation. Contributed modules should name articles by arrays, where the first element of an array identifies the module; for example, " { $snippet "{ \"httpd\" \"intro\" }" } "." }
{ $examples
{ $code
"USING: help help.syntax ;"
"ARTICLE: \"example\" \"An example article\""
"\"Hello world.\" ;"
"\"example\" help"
}
} ;