class

ContributorMural::Config

Inherits YAML::Serializable::Strict < YAML::Serializable < Reference < Object

Constants

DEFAULT_OUTPUT = "CONTRIBUTOR_MURAL.svg"

Constructors

empty
Source
load(path : String) : Config
Source
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source
parse(yaml : String) : Config
Source

Instance methods

api_sources?

True when any configured source needs the GitHub API.

Source
constellation
Source
constellation=(constellation : ConstellationConfig)
Source
contributors

Every source block is enabled by being written down; nil means the key was left out of the config entirely.

Source
contributors=(contributors : ContributorsConfig | Nil)

Every source block is enabled by being written down; nil means the key was left out of the config entirely.

Source
exclude
Source
exclude=(exclude : Array(String))
Source
fail_on_missing=(fail_on_missing : Bool)
Source
fail_on_missing?
Source
grid
Source
grid=(grid : GridConfig)
Source
groups
Source
groups=(groups : Array(String) | Nil)
Source
honeycomb
Source
honeycomb=(honeycomb : HoneycombConfig)
Source
limit
Source
limit=(limit : Int32 | Nil)
Source
members
Source
members=(members : MembersConfig | Nil)
Source
metro
Source
metro=(metro : MetroConfig)
Source
mosaic
Source
mosaic=(mosaic : MosaicConfig)
Source
orbit
Source
orbit=(orbit : OrbitConfig)
Source
output
Source
output=(output : String)
Source
outputs
Source
outputs=(outputs : Array(OutputEntry) | Nil)
Source
pebble
Source
pebble=(pebble : PebbleConfig)
Source
png=(png : PngConfig)
Source
render_targets

The (path, style, mode override) tuples to render: the outputs array when present, otherwise the single output/style pair.

Source
skyline
Source
skyline=(skyline : SkylineConfig)
Source
sort
Source
sort=(sort : SortMode)
Source
spiral
Source
spiral=(spiral : SpiralConfig)
Source
sponsors
Source
sponsors=(sponsors : SponsorsConfig | Nil)
Source
stargazers
Source
stargazers=(stargazers : StargazersConfig | Nil)
Source
stencil
Source
stencil=(stencil : StencilConfig)
Source
style
Source
style=(style : Style)
Source
theme
Source
theme=(theme : ThemeConfig)
Source
users
Source
users=(users : Array(UserEntry))
Source
validate!
Source
voronoi
Source
voronoi=(voronoi : VoronoiConfig)
Source