Handbook
Glossary
article-content ( topic -- content )
Factor handbook
»
Developer tools
»
Help system
»
Help system implementation
Prev:
article-title ( topic -- string )
Next:
article-parent ( topic -- parent/f )
Vocabulary
help
.
topics
Inputs
topic
an article name or a word
Outputs
content
a markup element
Word description
Outputs the content of a specific help article.
Definition
IN:
help.topics
GENERIC:
article-content
( topic -- content )
Methods
USING:
accessors
arrays
help.apropos
help.topics
sequences
;
M:
apropos-search
article-content
text>>
1array
\
$apropos
prefix
;
USING:
accessors
help.topics
;
M:
article
article-content
content>>
;
USING:
classes
help.private
help.topics
;
M:
class
article-content
word-with-methods
;
USING:
help.topics
kernel
;
M:
f
article-content
drop
\
f
article-content
;
USING:
generic
help.private
help.topics
;
M:
generic
article-content
word-with-methods
;
USING:
accessors
help.topics
;
M:
link
article-content
name>>
article-content
;
USING:
accessors
assocs
help.apropos
help.topics
sequences
sorting
unicode
;
M:
more-completions
article-content
seq>>
[
second
>lower
]
sort-by
keys
\
$completions
prefix
;
USING:
help.topics
kernel
;
M:
object
article-content
lookup-article
article-content
;
USING:
accessors
arrays
help.topics
help.vocabs
kernel
;
M:
vocab-author
article-content
\
$authored-vocabs
swap
name>>
2array
;
USING:
arrays
help.topics
help.vocabs
kernel
vocabs
;
M:
vocab-spec
article-content
vocab-name
\
$vocab
swap
2array
;
USING:
accessors
arrays
help.topics
help.vocabs
kernel
;
M:
vocab-tag
article-content
\
$tagged-vocabs
swap
name>>
2array
;
USING:
help.private
help.topics
words
;
M:
word
article-content
(word-help)
;