Skip to content

Folders

Each concern in config/settings.yaml — data, spec, and assets — carries its own directory. All are run choices: a different team could point them anywhere and still be correct.

Fileconfig/settings.yaml
Pathdata.directory, spec.directory, assets.directory
Typestring (each)
Default./data, ./specs, ./assets

Options

PathDescription
data.directoryWhere fetch writes downloaded payloads, and where generate loads them from. Override per run with --data-dir on fetch, scan, and generate
spec.directoryWhere generate commands write their output files. Override per run with -o on individual commands
assets.directoryShared resources every code output points at, whatever the platform — icons, images, generated CSS, fonts

The generate command’s --format flag still controls output format (YAML vs JSON); these control directories only.

Example

data:
directory: ./data
spec:
directory: ./specs
assets:
directory: ./assets

Legacy names

In the pre-split specs.config.yaml, these were the root-level dataDirectory and outputDirectory members (and, before that, sourceDirectory as a deprecated alias for dataDirectory). That file is no longer read — specs migrate config converts it, moving both to data.directory and spec.directory.