[Reference] consistent & complete config examples
minor #4160 [Reference] consistent & complete config examples (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Reference] consistent & complete config examples

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

Make configuration examples in the reference section consistent throughout the different configuration formats. Also fixing several syntax issues.

This follow #4114 and #4129.

Commits
-------

01dc25c [Reference] consistent & complete config examples