help: minor improvement in example usage of 'ARTICLE:'
parent
69353f2625
commit
2e08b85977
|
@ -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\" }" } "." }
|
{ $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
|
{ $examples
|
||||||
{ $code
|
{ $code
|
||||||
|
"USING: help help.syntax ;"
|
||||||
"ARTICLE: \"example\" \"An example article\""
|
"ARTICLE: \"example\" \"An example article\""
|
||||||
"\"Hello world.\" ;"
|
"\"Hello world.\" ;"
|
||||||
|
"\"example\" help"
|
||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue