Skip to content

Commit 1118d1e

Browse files
committed
Added formats standards
1 parent 64712ea commit 1118d1e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

contributing/documentation/format.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ the highlighted pseudo-language:
5252

5353
A list of supported languages is available on the `Pygments website`_.
5454

55+
.. _docs-configuration-blocks:
56+
5557
Configuration Blocks
5658
~~~~~~~~~~~~~~~~~~~~
5759

contributing/documentation/standards.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@ Code Examples
6565
unless the next line is also a comment;
6666
* You should put a ``$`` in front of every bash line.
6767

68+
Formats
69+
~~~~~~~
70+
71+
Configuration examples should show all supported formats using
72+
:ref:`configuration blocks <docs-configuration-blocks>`. The supported formats
73+
(and their orders) are:
74+
75+
* **Configuration** (including services and routing): Yaml, Xml, Php
76+
* **Validation**: Yaml, Annotations, Xml, Php
77+
* **Doctrine Mapping**: Annotations, Yaml, Xml, Php
78+
6879
Example
6980
~~~~~~~
7081

0 commit comments

Comments
 (0)