add YAML examples to docs