Handbook
Glossary
set-article-parent ( parent topic -- )
Factor handbook
»
Developer tools
»
Help system
»
Help system implementation
Prev:
article-parent ( topic -- parent/f )
Next:
word-help ( word -- content )
Vocabulary
help
.
topics
Inputs
parent
an
object
topic
an
object
Outputs
None
Definition
IN:
help.topics
GENERIC:
set-article-parent
( parent topic -- )
Methods
USING:
help.topics
kernel
;
M:
f
set-article-parent
drop
\
f
set-article-parent
;
USING:
accessors
help.topics
;
M:
link
set-article-parent
name>>
set-article-parent
;
USING:
assocs
help.topics
kernel
namespaces
;
M:
object
set-article-parent
article-xref
get
set-at
;
USING:
help.topics
kernel
words
;
M:
word
set-article-parent
swap
"help-parent"
set-word-prop
;