Configuration Schema
Complete reference for the docsync.config.json configuration file.
Root Properties
{
"baseUrl": "http://localhost:3000",
"assetDir": ".poliage/output",
"concurrency": 2,
"timeout": 45000,
"headless": true,
"viewport": {},
"storage": {},
"diffing": {},
"variants": {},
"scenarios": []
}Viewport
{
"viewport": {
"width": 1280,
"height": 720,
"deviceScaleFactor": 2
}
}Storage
Platform Mode
{ "storage": { "type": "poliage" } }S3
{
"storage": {
"type": "s3",
"bucket": "my-bucket",
"region": "us-east-1",
"pathPrefix": "docs",
"publicDomain": "https://cdn.example.com"
}
}R2
{
"storage": {
"type": "r2",
"bucket": "my-bucket",
"accountId": "account-id",
"publicDomain": "https://cdn.example.com"
}
}Local
{
"storage": {
"type": "local",
"outputDir": "./public/assets",
"publicDomain": "/assets"
}
}Diffing
{
"diffing": {
"enabled": true,
"threshold": 0.1,
"includeAA": false
}
}Scenarios
{
"scenarios": [
{
"name": "login-flow",
"timeout": 60000,
"viewport": { "width": 1920, "height": 1080 },
"steps": []
}
]
}Steps
See Step API Reference for all step types.