]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/prettyprint/stylesheet/stylesheet-docs.factor
factor: trim using lists
[factor.git] / basis / prettyprint / stylesheet / stylesheet-docs.factor
index 4f7a7f2141669ca952f385c12d9b7737d5d63100..174489de8afda7b5ca33dedb0f7d6e189021fb4c 100644 (file)
@@ -1,6 +1,6 @@
-! Copyright (C) 2009 Your name.
+! Copyright (C) 2009 Keith Lazuka.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel words ;
+USING: help.markup help.syntax strings words ;
 IN: prettyprint.stylesheet
 
 HELP: effect-style
@@ -8,37 +8,37 @@ HELP: effect-style
     { "effect" "an effect" }
     { "style" "a style assoc" }
 }
-{ $description "The styling hook for stack effects" } ;
+{ $description "The stylesheet for stack effects" } ;
 
 HELP: string-style
 { $values
-    { "str" "a string" }
+    { "str" string }
     { "style" "a style assoc" }
 }
-{ $description "The styling hook for string literals" } ;
+{ $description "The stylesheet for string literals" } ;
 
 HELP: vocab-style
 { $values
     { "vocab" "a vocabulary specifier" }
     { "style" "a style assoc" }
 }
-{ $description "The styling hook for vocab names" } ;
+{ $description "The stylesheet for vocab names" } ;
 
 HELP: word-style
 { $values
-    { "word" "a word" }
+    { "word" word }
     { "style" "a style assoc" }
 }
-{ $description "The styling hook for word names" } ;
+{ $description "The stylesheet for word names" } ;
 
-ARTICLE: "prettyprint.stylesheet" "Prettyprinter Formatted Output"
-{ $vocab-link "prettyprint.stylesheet" }
-$nl
-"Control the way that the prettyprinter formats output based on object type. These hooks form a basic \"syntax\" highlighting system."
-{ $subsection word-style }
-{ $subsection string-style } 
-{ $subsection vocab-style }
-{ $subsection effect-style }
+ARTICLE: "prettyprint.stylesheet" "Prettyprinter stylesheet"
+"The " { $vocab-link "prettyprint.stylesheet" } " vocabulary defines variables which control the way that the prettyprinter formats output based on object type."
+{ $subsections
+    word-style
+    string-style
+    vocab-style
+    effect-style
+}
 ;
 
 ABOUT: "prettyprint.stylesheet"