Skip to content

Commit 856d04d

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Format] Add `tabs` directive fix typo
2 parents 4aee30a + 341840a commit 856d04d

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ by default, so you must register first in your services:
847847
- '%kernel.project_dir%/.env'
848848
- '%kernel.environment%'
849849
850-
In PHP >= 8, you can remove the the two arguments when autoconfiguration is enabled
850+
In PHP >= 8, you can remove the two arguments when autoconfiguration is enabled
851851
(which is the default):
852852

853853
.. code-block:: yaml

contributing/documentation/format.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,31 @@ Markup Format Use It to Display
124124
``php-standalone`` PHP code to be used in any PHP application using standalone Symfony components
125125
=================== ==============================================================================
126126

127+
Displaying Tabs
128+
~~~~~~~~~~~~~~~
129+
130+
It is possible to display tabs in the documentation. They look similar to
131+
configuration blocks when rendered, but tabs can hold any type of content:
132+
133+
.. code-block:: rst
134+
135+
.. tabs:: UX Installation
136+
137+
.. tab:: Webpack Encore
138+
139+
Introduction to Webpack
140+
141+
.. code-block:: yaml
142+
143+
webpack:
144+
# ...
145+
146+
.. tab:: AssetMapper
147+
148+
Introduction to AssetMapper
149+
150+
Something else about AssetMapper
151+
127152
Adding Links
128153
~~~~~~~~~~~~
129154

0 commit comments

Comments
 (0)