| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Drasil.Generator.Generate
Description
Defines Drasil generator functions.
Generator Functions
gen :: DocSpec -> Document -> PrintingInformation -> IO () Source #
Generate a number of artifacts based on a list of recipes.
Types (Printing Options)
Document types include Software Requirements Specification and Website. Choosing SRS will generate both TeX and HTML files, while Website generates only as HTML. This also determines what folders the generated files will be placed into.
Constructors
| DocSpec DocChoices Filename |
Instances
| RuleTransformer DocSpec Source # | Allows the creation of Makefiles for documents that use LaTeX. |
Defined in Drasil.Generator.Formats | |
data DocChoices Source #
Document choices include the type of document as well as the file formats we want to generate as.
Possible formats for printer output.
Constructor
docChoices :: DocType -> [Format] -> DocChoices Source #
Constructor for users to choose their document options