From 27ddc6a082b83f711793ed0b48a6d9ce5f73203d Mon Sep 17 00:00:00 2001 From: Nikita Hovratov <nikita.h@live.de> Date: Mon, 16 Aug 2021 19:54:14 +0200 Subject: [PATCH] [DOCS] Fix incorrect code block syntax in some rst files Resolves: #94909 Releases: master, 10.4, 9.5 Change-Id: I68b5f28f761e5eb096d8580e7c7291b479f144b5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70641 Tested-by: core-ci <typo3@b13.com> Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Georg Ringer <georg.ringer@gmail.com> --- .../9.0/Feature-81363-AcceptFormElementTranslationArguments.rst | 2 +- ...-92836-IntroduceSudoModeForInstallToolAccessedViaBackend.rst | 2 +- .../Deprecation-94762-DeprecateJavaScriptTopfsModState.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/core/Documentation/Changelog/9.0/Feature-81363-AcceptFormElementTranslationArguments.rst b/typo3/sysext/core/Documentation/Changelog/9.0/Feature-81363-AcceptFormElementTranslationArguments.rst index 9ac7bccd0e91..006800f2e8d1 100644 --- a/typo3/sysext/core/Documentation/Changelog/9.0/Feature-81363-AcceptFormElementTranslationArguments.rst +++ b/typo3/sysext/core/Documentation/Changelog/9.0/Feature-81363-AcceptFormElementTranslationArguments.rst @@ -43,7 +43,7 @@ the topic: translation: translationFile: path/to/locallang.xlf -.. code-block: typoscript +.. code-block:: typoscript plugin.tx_form { settings { diff --git a/typo3/sysext/core/Documentation/Changelog/9.5.x/Important-92836-IntroduceSudoModeForInstallToolAccessedViaBackend.rst b/typo3/sysext/core/Documentation/Changelog/9.5.x/Important-92836-IntroduceSudoModeForInstallToolAccessedViaBackend.rst index f4ef991d634f..65d4cccbcd4c 100644 --- a/typo3/sysext/core/Documentation/Changelog/9.5.x/Important-92836-IntroduceSudoModeForInstallToolAccessedViaBackend.rst +++ b/typo3/sysext/core/Documentation/Changelog/9.5.x/Important-92836-IntroduceSudoModeForInstallToolAccessedViaBackend.rst @@ -35,7 +35,7 @@ Services that extend authentication with custom additional factors (2FA/MFA) are advised to intercept only valid login requests instead of all `authUser` invocations. -.. code-block: php +.. code-block:: php class MyAuthenticationService extends \TYPO3\CMS\Core\Authentication\AbstractAuthenticationService diff --git a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-94762-DeprecateJavaScriptTopfsModState.rst b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-94762-DeprecateJavaScriptTopfsModState.rst index 535b935f29c4..a0872e65ffd5 100644 --- a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-94762-DeprecateJavaScriptTopfsModState.rst +++ b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-94762-DeprecateJavaScriptTopfsModState.rst @@ -42,7 +42,7 @@ New :js:`ModuleStorage` component is capable of providing similar behavior, corresponding state is written to `sessionStorage` and available for current client user session (per browser tab). -.. code-block: javascript +.. code-block:: javascript import {ModuleStateStorage} from '../Storage/ModuleStateStorage'; let identifier: string, selection: string|null, mount: string|null; -- GitLab