Skip to content
Merged
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
7 changes: 5 additions & 2 deletions Documentation/Basics/RstCheatSheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,15 @@ the standard reST Syntax can be used:

See also https://www.typo3.org or `the TER <https://extensions.typo3.org>`_.

There are special links for composer packages and PHP classes (linking to the API):
There are special links for composer packages (link to the package) and PHP classes
(link to the API documentation). PHP classes can be displayed in either FQN format
( `:php:`) or classname only (`:php-short:`):

.. code-block:: rst

Install :composer:`typo3/cms-seo` to listen to event
:php:`\TYPO3\CMS\Seo\Event\ModifyUrlForCanonicalTagEvent`.
:php:`\TYPO3\CMS\Seo\Event\ModifyUrlForCanonicalTagEvent`
:php-short:`\TYPO3\CMS\Seo\Event\ModifyUrlForCanonicalTagEvent`

There is a dedicated chapter on links and references in reST: :ref:`links`.

Expand Down