Skip to content

[Format] Add tabs directive #18565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions contributing/documentation/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,31 @@ Markup Format Use It to Display
``php-standalone`` PHP code to be used in any PHP application using standalone Symfony components
=================== ==============================================================================

Display Tabs
~~~~~~~~~~~~

It is possible to display tabs in the documentation. Even though their display
looks like configuration blocks, tabs can contain any type of content:

.. code-block:: rst

.. tabs:: UX Installation

.. tab:: Webpack Encore

Introduction to Webpack

.. code-block:: yaml

webpack:
# ...

.. tab:: AssetMapper

Introduction to AssetMapper

Something else about AssetMapper

Adding Links
~~~~~~~~~~~~

Expand Down