swarm-0.5.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.Doc.Schema.Arrangement

Description

Graph-based heuristics for arranging the order of sections in the schema docs

Synopsis

Documentation

sortAndPruneSchemas :: SchemaIdReference -> [SchemaData] -> [SchemaData] Source #

Sort the schemas in topological order.

Only includes schema files that are reachable from the root schema (i.e. exclude entities.json and recipes.json, which are used independently to validate entities.yaml and recipes.yaml).