A simple source path: "report.pdf" = "report.md"A configuration object: "report.pdf" = { source = "report.md", command = "render" }A static file: "data.csv" = {}(copies file as-is) A pattern: "exports/*.csv" = { pattern = "exports/*.csv" }A spread: "{region}/report.pdf" = { source = "report.md", arguments = { region = ["north", "south"] } }
# Outputs with source, static, and spread variants
[outputs]
"report.pdf" = "report.md"
"data/results.csv" = {}
"{region}/report.pdf" = { source = "report.md", arguments = { region = ["north", "south"] } }OutputTarget Configuration Entry
# Output mappings for rendered and static files
[outputs]
# Simple: source path (rendered if extension differs)
"report.pdf" = "report.md"
# Full config with options
"report.docx" = { source = "report.md", command = "render" }
# Static file (omit source = use key as source)
"data/results.csv" = {}
# Pattern for multiple files
"exports/*.csv" = { pattern = "exports/*.csv" }
# Spread with parameters
"{region}/report.pdf" = { source = "report.md", arguments = { region = ["north", "south"] } }Simple source path (rendered if extension differs from key)
[outputs]
"report.pdf" = "report.md"Full configuration object
[outputs]
"report.pdf" = { source = "report.md", command = "render" }
"data.csv" = {} # (static, source = output path)outputs.rsgenerate.rs