Add exception handling to help.html
parent
63d109cc04
commit
cd3c71c113
|
@ -5,7 +5,7 @@ io.files html.streams html.elements html.components help kernel
|
||||||
assocs sequences make words accessors arrays help.topics vocabs
|
assocs sequences make words accessors arrays help.topics vocabs
|
||||||
tools.vocabs tools.vocabs.browser namespaces prettyprint io
|
tools.vocabs tools.vocabs.browser namespaces prettyprint io
|
||||||
vocabs.loader serialize fry memoize unicode.case math.order
|
vocabs.loader serialize fry memoize unicode.case math.order
|
||||||
sorting ;
|
sorting debugger ;
|
||||||
IN: help.html
|
IN: help.html
|
||||||
|
|
||||||
: escape-char ( ch -- )
|
: escape-char ( ch -- )
|
||||||
|
@ -89,7 +89,7 @@ M: topic browser-link-href topic>filename ;
|
||||||
all-vocabs-really [ dup vocab-name ] { } map>assoc "vocabs.idx" serialize-index ;
|
all-vocabs-really [ dup vocab-name ] { } map>assoc "vocabs.idx" serialize-index ;
|
||||||
|
|
||||||
: generate-help-files ( -- )
|
: generate-help-files ( -- )
|
||||||
all-topics [ help>html ] each ;
|
all-topics [ '[ _ help>html ] try ] each ;
|
||||||
|
|
||||||
: generate-help ( -- )
|
: generate-help ( -- )
|
||||||
"docs" temp-file
|
"docs" temp-file
|
||||||
|
|
Loading…
Reference in New Issue