| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Swarm.DocGen
Synopsis
- generateDocs :: GenerateDocs -> IO ()
- data GenerateDocs where
- data EditorType
- data SheetType
- keywordsCommands :: EditorType -> Text
- keywordsDirections :: EditorType -> Text
- operatorNames :: Text
- builtinFunctionList :: EditorType -> Text
- editorList :: EditorType -> [Text] -> Text
- data PageAddress = PageAddress {}
- commandsPage :: Text
- capabilityPage :: PageAddress -> EntityMap -> Text
- noPageAddresses :: PageAddress
Documentation
generateDocs :: GenerateDocs -> IO () Source #
data GenerateDocs where Source #
Constructors
| RecipeGraph :: GenerateDocs | Entity dependencies by recipes. |
| EditorKeywords :: Maybe EditorType -> GenerateDocs | Keyword lists for editors. |
| CheatSheet :: PageAddress -> Maybe SheetType -> GenerateDocs |
Instances
| Show GenerateDocs Source # | |
Defined in Swarm.DocGen Methods showsPrec :: Int -> GenerateDocs -> ShowS # show :: GenerateDocs -> String # showList :: [GenerateDocs] -> ShowS # | |
| Eq GenerateDocs Source # | |
Defined in Swarm.DocGen | |
data EditorType Source #
Instances
| Bounded EditorType Source # | |
Defined in Swarm.DocGen | |
| Enum EditorType Source # | |
Defined in Swarm.DocGen Methods succ :: EditorType -> EditorType # pred :: EditorType -> EditorType # toEnum :: Int -> EditorType # fromEnum :: EditorType -> Int # enumFrom :: EditorType -> [EditorType] # enumFromThen :: EditorType -> EditorType -> [EditorType] # enumFromTo :: EditorType -> EditorType -> [EditorType] # enumFromThenTo :: EditorType -> EditorType -> EditorType -> [EditorType] # | |
| Show EditorType Source # | |
Defined in Swarm.DocGen Methods showsPrec :: Int -> EditorType -> ShowS # show :: EditorType -> String # showList :: [EditorType] -> ShowS # | |
| Eq EditorType Source # | |
Defined in Swarm.DocGen | |
Constructors
| Entities | |
| Commands | |
| Capabilities | |
| Recipes |
Instances
| Bounded SheetType Source # | |
| Enum SheetType Source # | |
Defined in Swarm.DocGen Methods succ :: SheetType -> SheetType # pred :: SheetType -> SheetType # fromEnum :: SheetType -> Int # enumFrom :: SheetType -> [SheetType] # enumFromThen :: SheetType -> SheetType -> [SheetType] # enumFromTo :: SheetType -> SheetType -> [SheetType] # enumFromThenTo :: SheetType -> SheetType -> SheetType -> [SheetType] # | |
| Show SheetType Source # | |
| Eq SheetType Source # | |
Formatted keyword lists
keywordsCommands :: EditorType -> Text Source #
Get formatted list of basic functions/commands.
keywordsDirections :: EditorType -> Text Source #
Get formatted list of directions.
operatorNames :: Text Source #
builtinFunctionList :: EditorType -> Text Source #
editorList :: EditorType -> [Text] -> Text Source #
Wiki pages
data PageAddress Source #
Constructors
| PageAddress | |
Fields
| |
Instances
| Show PageAddress Source # | |
Defined in Swarm.DocGen Methods showsPrec :: Int -> PageAddress -> ShowS # show :: PageAddress -> String # showList :: [PageAddress] -> ShowS # | |
| Eq PageAddress Source # | |
Defined in Swarm.DocGen | |
commandsPage :: Text Source #
capabilityPage :: PageAddress -> EntityMap -> Text Source #