@@ -110,18 +110,25 @@ The current list of supported formats are the following:
110
110
=================== ==============================================================================
111
111
Markup Format Use It to Display
112
112
=================== ==============================================================================
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)
119
115
``html+php `` PHP code blended with HTML
116
+ ``html+twig `` Twig markup blended with HTML
117
+ ``html `` HTML
120
118
``ini `` INI
121
119
``php-annotations `` PHP Annotations
122
120
``php-attributes `` PHP Attributes
123
- ``php-symfony `` PHP code example when using the Symfony framework
124
121
``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
125
132
=================== ==============================================================================
126
133
127
134
Displaying Tabs
@@ -190,6 +197,29 @@ If you want to modify that title, use this alternative syntax:
190
197
191
198
:doc:`environments`
192
199
200
+ **Links to specific page sections ** follow a different syntax. First, define a
201
+ target above section you will link to (syntax: ``.. _ `` + target name + ``: ``):
202
+
203
+ .. code-block :: rst
204
+
205
+ # /service_container/autowiring.rst
206
+
207
+ # define the target
208
+ .. _autowiring-calls:
209
+
210
+ Autowiring other Methods (e.g. Setters and Public Typed Properties)
211
+ -------------------------------------------------------------------
212
+
213
+ // section content ...
214
+
215
+ Then, use the ``:ref:: `` directive to link to that section from another file:
216
+
217
+ .. code-block :: rst
218
+
219
+ # /reference/attributes.rst
220
+
221
+ :ref:`Required <autowiring-calls>`
222
+
193
223
**Links to the API ** follow a different syntax, where you must specify the type
194
224
of the linked resource (``class `` or ``method ``):
195
225
0 commit comments