YAML Documentation
Master YAML configuration with in-depth guides, best practices, and code examples.
Getting Started
Introduction to YAML syntax and structure.
Advanced Features
Anchors, aliases, and multi-document streams.
Best Practices
Maintainable config patterns and validation tips.
Core Syntax Reference
Scalar Values
string: "Hello world"
number: 42
boolean: true
null: null
All scalar values are automatically typed based on their format.
Collections
fruits:
- apple
- banana
- orange
metadata:
{ color: red, size: large }
Lists use dashes and maps use spaces for key-value pairs.
Anchors & Aliases
&default-config
timeout: 10s