Shoalrun documentation frameworkMenu
For agents
Start with https://www.shoalrun.com/llms.txt for the documentation index, then read the Markdown pages it links. Skip to article. Documentation index. Read this page as Markdown.
Reference

Configuration reference

Find configuration settings by topic and compose a project configuration.

Updated
Read as Markdown

A project's configuration starts at docs.config.yaml. The CLI looks for that name by default, and shoalrun scaffold -n searches parent directories for it. For a guided workflow, start with Configure your project. For complete working projects, see Example configs.

Find a setting

Each reference below contains the field definitions, defaults, validation rules, and examples for its topic.

Reference Configuration keys
Site and theme settings site, theme
Publications and routing settings publications, navigation, redirects
Authoring and content settings authoring, frontmatter, variables, snippets, templates, callouts, badges, cookbooks, relationships, readerFilters
API and audit settings apis, codeReferences, audit
Search and integration settings search, mcp, analytics
Output and export settings metadata, exports, outputs

Start a configuration file

The root file must be a YAML mapping with schemaVersion: 1. YAML is parsed strictly: duplicate keys fail. Unknown top-level keys fail with unknown setting <key>. See the focused references for validation rules within each setting.

docs.config.yaml
schemaVersion: 1
site:
  title: Example documentation
publications:
  defaults: { channel: production, version: current, language: en }
  channels:
    production: { pathPrefix: "" }
  versions:
    current: { pathPrefix: "" }
  enabled:
    - { channel: production, version: current }
navigation: { $include: ./config/nav.yaml }

Split and combine config files

These directives compose configuration values. Paths resolve relative to the file declaring them. For complete examples, merge order, and troubleshooting, follow Configure your project.

$include

{ $include: ./path.yaml } replaces a value at any depth with the contents of another YAML file. The mapping can have no other keys. Included files can include others; a cycle fails with Configuration cycle and the chain of files. Normal inheritance rules apply to the resolved value.

extends

A top-level extends: [./base.yaml] layers one or more presets in order, followed by the current file. Mappings merge key by key; lists and scalar values replace earlier values. Presets may extend other presets. A top-level extends always names config files, including in an included file; it can't serve another purpose there.

$concat and $remove

{ $concat: [...] } appends items to an inherited list, or becomes the list when none is inherited. It also accepts included lists. { $remove: [name, ...] } removes inherited mapping keys by name or list items by id; it fails when nothing is inherited.

Run shoalrun config explain <key> docs.config.yaml to inspect a value's source and overrides. See the CLI reference for other inspection commands.

Settings by key

Use these links to jump directly to a setting in its focused reference.

See search settings.

authoring

See authoring settings.

site

See site settings.

site.agentDiscovery

See site.agentDiscovery settings.

Content freshness

See Content freshness settings.

theme

See theme settings.

publications

See publications settings.

See navigation settings.

redirects

See redirects settings.

apis

See apis settings.

audit

See audit settings.

Agent evaluation reports

See Agent evaluation reports settings.

cookbooks

See cookbooks settings.

relationships

See relationships settings.

variables

See variables settings.

snippets

See snippets settings.

callouts

See callouts settings.

badges

See badges settings.

templates

See templates settings.

readerFilters

See readerFilters settings.

frontmatter

See frontmatter settings.

mcp

See mcp settings.

analytics

See analytics settings.

metadata

See metadata settings.

exports

See exports settings.

outputs

See outputs settings.

Agent discovery index

See Agent discovery index settings.

Read first