From b9761a06923aee6da4f6e3c17ad1711796cb0bc0 Mon Sep 17 00:00:00 2001 From: axiaoxin <254606826@qq.com> Date: Mon, 15 Dec 2014 15:32:49 +0800 Subject: [PATCH 1/4] members of a list must start with ``- `` --- docsite/rst/YAMLSyntax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/YAMLSyntax.rst b/docsite/rst/YAMLSyntax.rst index 3230a39f24..0ebfb1be56 100644 --- a/docsite/rst/YAMLSyntax.rst +++ b/docsite/rst/YAMLSyntax.rst @@ -25,7 +25,7 @@ Ansible or not) should begin with ``---``. This is part of the YAML format and indicates the start of a document. All members of a list are lines beginning at the same indentation level starting -with a ``-`` (dash) character:: +with a ``- `` (dash and whitespace) character:: --- # A list of tasty fruits From c0cb4b3e080ed154b847d1b782c3ca9d0080f0f3 Mon Sep 17 00:00:00 2001 From: axiaoxin <254606826@qq.com> Date: Mon, 15 Dec 2014 15:44:00 +0800 Subject: [PATCH 2/4] in key/value pairs, whitespace is needed after the colon --- docsite/rst/YAMLSyntax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/YAMLSyntax.rst b/docsite/rst/YAMLSyntax.rst index 0ebfb1be56..f92ba5791e 100644 --- a/docsite/rst/YAMLSyntax.rst +++ b/docsite/rst/YAMLSyntax.rst @@ -34,7 +34,7 @@ with a ``- `` (dash and whitespace) character:: - Strawberry - Mango -A dictionary is represented in a simple ``key:`` and ``value`` form:: +A dictionary is represented in a simple ``key: `` and ``value`` form:: --- # An employee record From 36eab28c7c1661a495120fa3b32f5b86d121c0ba Mon Sep 17 00:00:00 2001 From: axiaoxin <254606826@qq.com> Date: Mon, 15 Dec 2014 15:53:35 +0800 Subject: [PATCH 3/4] making the whitespace expicity in dict --- docsite/rst/YAMLSyntax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/YAMLSyntax.rst b/docsite/rst/YAMLSyntax.rst index f92ba5791e..1b15f81e2a 100644 --- a/docsite/rst/YAMLSyntax.rst +++ b/docsite/rst/YAMLSyntax.rst @@ -34,7 +34,7 @@ with a ``- `` (dash and whitespace) character:: - Strawberry - Mango -A dictionary is represented in a simple ``key: `` and ``value`` form:: +A dictionary is represented in a simple ``key: `` (colon and whitespac) and ``value`` form:: --- # An employee record From 58388129676f764801b794a1996071fd12b61574 Mon Sep 17 00:00:00 2001 From: axiaoxin <254606826@qq.com> Date: Mon, 15 Dec 2014 15:55:12 +0800 Subject: [PATCH 4/4] minor --- docsite/rst/YAMLSyntax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/YAMLSyntax.rst b/docsite/rst/YAMLSyntax.rst index 1b15f81e2a..9e5ef31103 100644 --- a/docsite/rst/YAMLSyntax.rst +++ b/docsite/rst/YAMLSyntax.rst @@ -34,7 +34,7 @@ with a ``- `` (dash and whitespace) character:: - Strawberry - Mango -A dictionary is represented in a simple ``key: `` (colon and whitespac) and ``value`` form:: +A dictionary is represented in a simple ``key: `` (colon and whitespace) and ``value`` form:: --- # An employee record