Configuration overview
ZAR reads configuration from two places:- A
.zar.ymlfile in your repository root — version-controlled, reviewed in PRs, lives with the code. - The dashboard / database — per-repo settings you toggle at app.zarlabs.tech.
Precedence: dashboard wins
When a setting can be configured in both places and is explicitly set in the dashboard, the dashboard value wins. If the dashboard leaves it unset, ZAR falls back to.zar.yml, and then to the built-in default.
.zar.yml says trigger: daily but the dashboard has trigger mode set to on_significant_change. ZAR uses on_significant_change. If the dashboard trigger were left unset, ZAR would use daily from .zar.yml.
What goes where
Settable in .zar.yml (and most also in the dashboard)
These describe how docs should be produced and are natural to version with the repo:
Full schema and an example:
.zar.yml reference.
Dashboard / database only
These are operational toggles and safety switches, kept out of the repo so a PR can’t silently flip them:
The complete table of every setting, with types, defaults, and ranges, is in the Settings reference.
New-repository defaults
When ZAR first sees a repository, it starts conservative:
So out of the box: ZAR watches
main, acts only on significant changes, opens small PRs, and never commits or blocks.
A recommended starting point
- Leave everything at defaults and open a few PRs to see ZAR’s suggestions.
- Add a
.zar.ymlwith astyle_guideso edits match your voice. - When you trust the output, enable the CI gate — start in dry-run to preview.
- Only after that, consider auto-commit.
Next steps
.zar.ymlreference — the file you commit to your repo.- Trigger modes — when ZAR speaks up.
- Settings reference — every setting, every default.