Handbook Glossary
factorcode.org
topic>filename* ( topic -- name prefix )


Vocabulary
help.html

Inputs
topican object


Outputs
namean object
prefixan object


Definition
IN: help.html

GENERIC: topic>filename* ( topic -- name prefix )


Methods
USING: help.html kernel ;

M: f topic>filename* drop \ f topic>filename* ;


USING: accessors help.html help.topics kernel ;

M: link topic>filename*
name>> dup [ "article" ] [ topic>filename* ] if ;


USING: accessors help.html help.vocabs ;

M: vocab-author topic>filename* name>> "author" ;


USING: help.html vocabs ;

M: vocab-spec topic>filename* vocab-name "vocab" ;


USING: accessors help.html help.vocabs ;

M: vocab-tag topic>filename* name>> "tag" ;


USING: accessors help.html help.topics ;

M: word-link topic>filename* name>> topic>filename* ;


USING: accessors arrays help.html kernel words ;

M: word topic>filename*
dup vocabulary>>
[ [ name>> ] [ vocabulary>> ] bi 2array "word" ]
[ drop f f ] if ;