{ $description "Set this symbol to hold your name so that the scaffold tools can generate the correct file header for copyright. Setting this variable in your .factor-boot-rc file is recommended." }
{ $description "Takes an existing vocabulary and creates a help file with scaffolded help for each word. This word only works if no help file yet exists." } ;
{ $description "Create some examples for a word with a using list that includes vocabularies the word is in and the " { $vocab-link "prettyprint" } " vocabulary. You are then expected to change the header " { $snippet "Example:" } " to something more descriptive." }
{ $examples
"Create docs for the + word:"
{ $example "USING: math tools.scaffold prettyprint ;"
"\\ + scaffold-examples"
"""{ $examples
"Example:"
{ $example "USING: math prettyprint ;"
""
""
}
"Example:"
{ $example "USING: math prettyprint ;"
""
""
}
}"""
}
} ;
HELP:scaffold-core
{ $values
{ "string"string }
}
{ $description "Create a placeholder vocabulary in the core vocabulary root." } ;
HELP:scaffold-basis
{ $values
{ "string"string }
}
{ $description "Create a placeholder vocabulary in the basis vocabulary root." } ;
HELP:scaffold-extra
{ $values
{ "string"string }
}
{ $description "Create a placeholder vocabulary in the extra vocabulary root." } ;
{ $description "Creates an authors.txt file using the value in " { $link developer-name } ". This word only works if no authors.txt file yet exists." } ;
{ $description "Creates a tags.txt file with the given tags. This word only works if no tags.txt file yet exists." } ;
HELP:scaffold-tests
{ $values
{ "vocab""a vocabulary specifier" }
}
{ $description "Takes an existing vocabulary and creates an empty tests file help for each word. This word only works if no tests file yet exists." } ;
"Types that are unrecognized by the scaffold generator will be of type " { $link null } ". The developer should change these to strings that describe the stack effect names instead." $nl