| 1 | # This section defines required keys and default values. |
| 2 | [section_1] |
| 3 | key1: foo |
| 4 | key2: bar and baz |
| 5 | key3: Launchpad rocks |
| 6 | key4: Fc;k yeah! |
| 7 | key5: |
| 8 | |
| 9 | # This section is required, and it defines all the keys for its category. |
| 10 | [section-2.app-b] |
| 11 | key1: True |
| 12 | |
| 13 | # This section is optional; it uses the keys defined |
| 14 | # by section_3.template. |
| 15 | [section_3.app_a.optional] |
| 16 | |
| 17 | # This is a required section whose keys are defined by section_3.template |
| 18 | # and it defines a new key. |
| 19 | [section_3.app_b] |
| 20 | key2: changed |
| 21 | key3: unique |
| 22 | |
| 23 | # These sections define a common set of required keys and default values. |
| 24 | [section_3.template] |
| 25 | key1: 17 |
| 26 | key2: 3.1415 |
| 27 | |
| 28 | # This section is optional. |
| 29 | [section-5.optional] |
| 30 | key1: something |
| 31 | |
| 32 | # This section has a name similar to a category. |
| 33 | [section_33] |
| 34 | key1: fnord |
| 35 | key2: multiline value 1 |
| 36 | multiline value 2 |