From 03da6a0f869572c648d84d5f4d935f1d6edef1f6 Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Mon, 23 Feb 2026 10:57:00 +0100 Subject: [PATCH 1/2] RstCheatSheet.rst: add example for short-php It is helpful to add also an example for short-php to the introduction page for links. It gets otherwise escapes the notice in many cases. --- Documentation/Basics/RstCheatSheet.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/Basics/RstCheatSheet.rst b/Documentation/Basics/RstCheatSheet.rst index 38e78c21..4dda3c98 100644 --- a/Documentation/Basics/RstCheatSheet.rst +++ b/Documentation/Basics/RstCheatSheet.rst @@ -63,12 +63,13 @@ the standard reST Syntax can be used: See also https://www.typo3.org or `the TER `_. -There are special links for composer packages and PHP classes (linking to the API): +There are special links for composer packages and PHP classes (linking to the API) in FQN and short class name: .. code-block:: rst Install :composer:`typo3/cms-seo` to listen to event - :php:`\TYPO3\CMS\Seo\Event\ModifyUrlForCanonicalTagEvent`. + :php:`\TYPO3\CMS\Seo\Event\ModifyUrlForCanonicalTagEvent` + (in short: :php-short:`\TYPO3\CMS\Seo\Event\ModifyUrlForCanonicalTagEvent`) There is a dedicated chapter on links and references in reST: :ref:`links`. From c0879aa6d88c0fcbd22662803e607b4337702eaf Mon Sep 17 00:00:00 2001 From: Sarah McCarthy Date: Wed, 25 Feb 2026 13:42:17 +0100 Subject: [PATCH 2/2] [TASK] Language checks --- Documentation/Basics/RstCheatSheet.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/Basics/RstCheatSheet.rst b/Documentation/Basics/RstCheatSheet.rst index 4dda3c98..858a450e 100644 --- a/Documentation/Basics/RstCheatSheet.rst +++ b/Documentation/Basics/RstCheatSheet.rst @@ -63,13 +63,15 @@ the standard reST Syntax can be used: See also https://www.typo3.org or `the TER `_. -There are special links for composer packages and PHP classes (linking to the API) in FQN and short class name: +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` - (in short: :php-short:`\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`.