Skip to content

Commit 162d5c2

Browse files
committed
Tweaks
1 parent ca386d8 commit 162d5c2

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

contributing/documentation/format.rst

+20-12
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,25 @@ The current list of supported formats are the following:
110110
=================== ==============================================================================
111111
Markup Format Use It to Display
112112
=================== ==============================================================================
113-
``html`` HTML
114-
``xml`` XML
115-
``php`` PHP
116-
``yaml`` YAML
117-
``twig`` Pure Twig markup
118-
``html+twig`` Twig markup blended with HTML
113+
``caddy`` Caddy web server configuration
114+
``env`` Bash files (like ``.env`` files)
119115
``html+php`` PHP code blended with HTML
116+
``html+twig`` Twig markup blended with HTML
117+
``html`` HTML
120118
``ini`` INI
121119
``php-annotations`` PHP Annotations
122120
``php-attributes`` PHP Attributes
123-
``php-symfony`` PHP code example when using the Symfony framework
124121
``php-standalone`` PHP code to be used in any PHP application using standalone Symfony components
122+
``php-symfony`` PHP code example when using the Symfony framework
123+
``php`` PHP
124+
``rst`` reStructuredText markup
125+
``terminal`` Renders the contents as a console terminal (use it to show which commands to run)
126+
``twig`` Pure Twig markup
127+
``varnish3`` Varnish Cache 3 configuration
128+
``varnish4`` Varnish Cache 4 configuration
129+
``vcl`` Varnish Configuration Language
130+
``xml`` XML
131+
``yaml`` YAML
125132
=================== ==============================================================================
126133

127134
Displaying Tabs
@@ -190,21 +197,22 @@ If you want to modify that title, use this alternative syntax:
190197
191198
:doc:`environments`
192199
193-
It is also possible to link to a specific section, instead of a whole page.
194-
First, define a target above section you will link to:
200+
**Links to specific page sections** follow a different syntax. First, define a
201+
target above section you will link to (syntax: ``.. _`` + target name + ``:``):
195202

196203
.. code-block:: rst
197204
198205
# /service_container/autowiring.rst
199206
200-
# Define the target
207+
# define the target
201208
.. _autowiring-calls:
202209
203210
Autowiring other Methods (e.g. Setters and Public Typed Properties)
204211
-------------------------------------------------------------------
205-
[section content ...]
206212
207-
Then create reference to link to that section from another file:
213+
// section content ...
214+
215+
Then, use the ``:ref::`` directive to link to that section from another file:
208216

209217
.. code-block:: rst
210218

0 commit comments

Comments
 (0)