evidence.config.yaml— project name, the pages directory, and default date and layout settings.theme.yaml— the project’s theme (colors, palettes, and scales).
evidence.config.yaml
This file lives at the project root. Every key is optional.
date.default_date_range_end is one of:
{ type: today }— ranges end today.{ type: relative, days_ago: <n> }— ranges endndays before today (e.g.days_ago: 1to exclude an incomplete current day).{ type: custom_sql, sql: '<expression>' }— a SQL expression that evaluates to the end date.
layout key sets the project-wide default; pages override them in their page settings.
Directory titles
By default the navigation shows a prettified version of the folder name —pages/quarterly-reports shows as Quarterly Reports. To show a different label, add an entry under directories, keyed by the folder’s path from the project root, with a title (the same key pages use in their page settings):
titleonly changes the display label in the rendered navigation (the published site and preview) — it does not rename the folder or change its URL.- The editor sidebar always shows the actual folder name (the slug), since that’s what exists in git.
- The label is derived from the folder’s current slug, so renaming the folder updates it automatically; set a
titleonly when you want the published label to differ from the folder name.
theme.yaml
theme.yaml defines the project’s theme — chart colors, palettes, and color scales — and lives at the project root next to evidence.config.yaml.
See Themes for the full file structure, what each setting does, and how theme inheritance works.
