swarm-0.7.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellNone
LanguageHaskell2010

Swarm.Doc.Gen

Description

Auto-generation of various forms of documentation.

Synopsis

Main document generation function + types

generateDocs :: GenerateDocs -> IO () Source #

Generate the requested kind of documentation to stdout.

data GenerateDocs where Source #

An enumeration of the kinds of documentation we can generate.

Constructors

RecipeGraph :: EdgeFilter -> GenerateDocs

Entity dependencies by recipes.

EditorKeywords :: Maybe EditorType -> GenerateDocs

Keyword lists for editors.

SpecialKeyNames :: GenerateDocs

List of special key names recognized by Key command

CheatSheet :: PageAddress -> SheetType -> GenerateDocs

Cheat sheets for inclusion on the Swarm wiki.

CommandsData :: GenerateDocs

JSON representation of commands metadata matrix

TutorialCoverage :: GenerateDocs

List command introductions by tutorial

Instances

Instances details
Show GenerateDocs Source # 
Instance details

Defined in Swarm.Doc.Gen

Eq GenerateDocs Source # 
Instance details

Defined in Swarm.Doc.Gen

data SheetType Source #

An enumeration of the kinds of cheat sheets we can produce.

Wiki pages

data PageAddress Source #

A configuration record holding the URLs of the various cheat sheets, to facilitate cross-linking.

Instances

Instances details
Show PageAddress Source # 
Instance details

Defined in Swarm.Doc.Wiki.Cheatsheet

Eq PageAddress Source # 
Instance details

Defined in Swarm.Doc.Wiki.Cheatsheet

Recipe graph drawing

data EdgeFilter Source #

Instances

Instances details
Show EdgeFilter Source # 
Instance details

Defined in Swarm.Doc.Gen

Eq EdgeFilter Source # 
Instance details

Defined in Swarm.Doc.Gen