From 6c2e4c1ca8182385815855b3198468ce7bb7f65b Mon Sep 17 00:00:00 2001 From: d3nisko Date: Thu, 25 Oct 2018 22:23:47 +0200 Subject: [PATCH] Update YAMLSyntax.rst (#47491) * Update YAMLSyntax.rst to correct syntax of a list vs dict. --- docs/docsite/rst/reference_appendices/YAMLSyntax.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/docsite/rst/reference_appendices/YAMLSyntax.rst b/docs/docsite/rst/reference_appendices/YAMLSyntax.rst index d5ce5c85026..3e038777812 100644 --- a/docs/docsite/rst/reference_appendices/YAMLSyntax.rst +++ b/docs/docsite/rst/reference_appendices/YAMLSyntax.rst @@ -30,11 +30,10 @@ All members of a list are lines beginning at the same indentation level starting --- # A list of tasty fruits - fruits: - - Apple - - Orange - - Strawberry - - Mango + - Apple + - Orange + - Strawberry + - Mango ... A dictionary is represented in a simple ``key: value`` form (the colon must be followed by a space):: @@ -67,7 +66,7 @@ Dictionaries and lists can also be represented in an abbreviated form if you rea --- martin: {name: Martin D'vloper, job: Developer, skill: Elite} - fruits: ['Apple', 'Orange', 'Strawberry', 'Mango'] + ['Apple', 'Orange', 'Strawberry', 'Mango'] These are called "Flow collections".