]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.help: fixing location of generated html docs.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 18 Jun 2012 19:32:44 +0000 (12:32 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 18 Jun 2012 19:32:44 +0000 (12:32 -0700)
extra/webapps/help/help.factor

index c347f550df6dd9f2912bbe3be42a77606a0269d4..888766bb47c6fb29229f2023728730afb3bc40fa 100644 (file)
@@ -4,8 +4,8 @@ USING: accessors db.sqlite furnace.actions furnace.alloy
 furnace.redirection help.html help.topics html.components
 html.forms html.templates.chloe http.server
 http.server.dispatchers http.server.static io.directories
-io.files kernel locals namespaces sequences unicode.categories
-urls ;
+io.files io.files.temp kernel locals namespaces sequences
+unicode.categories urls ;
 IN: webapps.help
 
 TUPLE: help-webapp < dispatcher ;
@@ -45,7 +45,7 @@ M: result link-href href>> ;
         "resource:basis/definitions/icons/" <static> "icons" add-responder ;
 
 : run-help-webapp ( -- )
-    "resource:temp/docs" <help-webapp>
+    "docs" cache-file <help-webapp>
         main-responder set-global
     8080 httpd drop ;