]> gitweb.factorcode.org Git - factor.git/commitdiff
furnace.utilities: fix docs for resolve-word-path.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 4 Nov 2014 06:26:22 +0000 (22:26 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 4 Nov 2014 06:26:22 +0000 (22:26 -0800)
basis/furnace/utilities/utilities-docs.factor

index 1e5d89f8896d3309ecbcd87f1444c76b617dc504..74b01ce75f138787338e0bcc6885c6cbcf63b649 100644 (file)
@@ -1,5 +1,5 @@
 USING: assocs help.markup help.syntax kernel
-quotations sequences strings urls xml.data http ;
+quotations sequences strings urls xml.data http words ;
 IN: furnace.utilities
 
 HELP: adjust-redirect-url
@@ -79,9 +79,9 @@ HELP: user-agent
 { $values { "user-agent" { $maybe string } } }
 { $description "Outputs the user agent reported by the client for the current request." } ;
 
-HELP: vocab-path
-{ $values { "vocab" "a vocabulary specifier" } { "path" "a pathname string" } }
-{ $description "Outputs the full pathname of the vocabulary's source directory." } ;
+HELP: resolve-word-path
+{ $values { "word" word } { "path/f" { $maybe "a pathname string" } } }
+{ $description "Outputs the full pathname of the word's vocabulary's directory." } ;
 
 HELP: exit-with
 { $values { "value" object } }
@@ -117,7 +117,7 @@ ARTICLE: "furnace.misc" "Miscellaneous Furnace features"
 }
 "Vocabulary root-relative resources:"
 { $subsections
-    vocab-path
+    resolve-word-path
     resolve-template-path
 }
 "Early return from a responder:"