Add yaml example in documentation