Add exception handling to help.html

db4
Slava Pestov 2008-11-16 11:54:26 -06:00
parent 63d109cc04
commit cd3c71c113
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ io.files html.streams html.elements html.components help kernel
assocs sequences make words accessors arrays help.topics vocabs
tools.vocabs tools.vocabs.browser namespaces prettyprint io
vocabs.loader serialize fry memoize unicode.case math.order
sorting ;
sorting debugger ;
IN: help.html
: 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 ;
: generate-help-files ( -- )
all-topics [ help>html ] each ;
all-topics [ '[ _ help>html ] try ] each ;
: generate-help ( -- )
"docs" temp-file