From da79ff9575947eb1e70850a1a800ee760590b965 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20B=C3=BCrk?= <stefan@buerk.tech>
Date: Wed, 16 Nov 2022 00:47:40 +0100
Subject: [PATCH] [DOCS] Use correct ReST file syntax in changelog
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Some changelog files containing invalid Sphinx syntax,
thus adding warnings during documentation build.

This change adjusts some changelog files to avoid
these warnings.

* use correct link target syntax
* ensure correct usage of code blocks

Resolves: #99099
Releases: main
Change-Id: Ib883ed6cb94bad98f5eb0d893d008728a3e1dc2d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76636
Tested-by: core-ci <typo3@b13.com>
Tested-by: Chris Müller <typo3@krue.ml>
Reviewed-by: Chris Müller <typo3@krue.ml>
Tested-by: Lina Wolf <112@linawolf.de>
Reviewed-by: Lina Wolf <112@linawolf.de>
---
 .../12.0/Feature-97729-SupportAttributeApprovedInXlfFiles.rst   | 2 +-
 .../Changelog/12.1/Deprecation-97536-LinkResultFactory.rst      | 2 +-
 .../Deprecation-99084-MakeContextMenuTriggerConfigurable.rst    | 2 ++
 .../12.1/Feature-97536-UnifiedAPIForGeneratingTypolinks.rst     | 2 +-
 .../Changelog/12.1/Feature-97747-IntroduceMailerInterface.rst   | 2 +-
 .../12.1/Feature-99084-MakeContextMenuTriggerConfigurable.rst   | 2 ++
 6 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/typo3/sysext/core/Documentation/Changelog/12.0/Feature-97729-SupportAttributeApprovedInXlfFiles.rst b/typo3/sysext/core/Documentation/Changelog/12.0/Feature-97729-SupportAttributeApprovedInXlfFiles.rst
index e4d25c6a0567..a3c970a0d104 100644
--- a/typo3/sysext/core/Documentation/Changelog/12.0/Feature-97729-SupportAttributeApprovedInXlfFiles.rst
+++ b/typo3/sysext/core/Documentation/Changelog/12.0/Feature-97729-SupportAttributeApprovedInXlfFiles.rst
@@ -1,6 +1,6 @@
 .. include:: /Includes.rst.txt
 
-.. _feature-97729-1654626734
+.. _feature-97729-1654626734:
 
 =========================================================
 Feature: #97729 - Respect attribute approved in XLF files
diff --git a/typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-97536-LinkResultFactory.rst b/typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-97536-LinkResultFactory.rst
index a2da22236625..601495aabf81 100644
--- a/typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-97536-LinkResultFactory.rst
+++ b/typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-97536-LinkResultFactory.rst
@@ -1,6 +1,6 @@
 .. include:: /Includes.rst.txt
 
-.. _deprecation-97536-1651523804
+.. _deprecation-97536-1651523804:
 
 =======================================
 Deprecation: #97536 - LinkResultFactory
diff --git a/typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-99084-MakeContextMenuTriggerConfigurable.rst b/typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-99084-MakeContextMenuTriggerConfigurable.rst
index 495728819479..c4c5eae31b84 100644
--- a/typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-99084-MakeContextMenuTriggerConfigurable.rst
+++ b/typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-99084-MakeContextMenuTriggerConfigurable.rst
@@ -39,6 +39,7 @@ Before
 ------
 
 .. code-block:: html
+
     <a href="#"
         class="t3js-contextmenutrigger"
         data-table="pages"
@@ -50,6 +51,7 @@ After
 -----
 
 .. code-block:: html
+
     <a href="#"
         data-contextmenu-trigger="click"
         data-contextmenu-table="pages"
diff --git a/typo3/sysext/core/Documentation/Changelog/12.1/Feature-97536-UnifiedAPIForGeneratingTypolinks.rst b/typo3/sysext/core/Documentation/Changelog/12.1/Feature-97536-UnifiedAPIForGeneratingTypolinks.rst
index f7d5709aa0ff..1a6807a44e48 100644
--- a/typo3/sysext/core/Documentation/Changelog/12.1/Feature-97536-UnifiedAPIForGeneratingTypolinks.rst
+++ b/typo3/sysext/core/Documentation/Changelog/12.1/Feature-97536-UnifiedAPIForGeneratingTypolinks.rst
@@ -1,6 +1,6 @@
 .. include:: /Includes.rst.txt
 
-.. _feature-97536-1651523601
+.. _feature-97536-1651523601:
 
 ======================================================
 Feature: #97536 - Unified API for generating typolinks
diff --git a/typo3/sysext/core/Documentation/Changelog/12.1/Feature-97747-IntroduceMailerInterface.rst b/typo3/sysext/core/Documentation/Changelog/12.1/Feature-97747-IntroduceMailerInterface.rst
index c9a4a227aa1a..5019b3206477 100644
--- a/typo3/sysext/core/Documentation/Changelog/12.1/Feature-97747-IntroduceMailerInterface.rst
+++ b/typo3/sysext/core/Documentation/Changelog/12.1/Feature-97747-IntroduceMailerInterface.rst
@@ -1,6 +1,6 @@
 .. include:: /Includes.rst.txt
 
-.. _feature-97747-1654691279
+.. _feature-97747-1654691279:
 
 ===========================================
 Feature: #97747 - Introduce MailerInterface
diff --git a/typo3/sysext/core/Documentation/Changelog/12.1/Feature-99084-MakeContextMenuTriggerConfigurable.rst b/typo3/sysext/core/Documentation/Changelog/12.1/Feature-99084-MakeContextMenuTriggerConfigurable.rst
index 7af9e08a3c92..489fa5b49655 100644
--- a/typo3/sysext/core/Documentation/Changelog/12.1/Feature-99084-MakeContextMenuTriggerConfigurable.rst
+++ b/typo3/sysext/core/Documentation/Changelog/12.1/Feature-99084-MakeContextMenuTriggerConfigurable.rst
@@ -27,6 +27,7 @@ Examples
 --------
 
 .. code-block:: html
+
     <a href="#"
         data-contextmenu-trigger="click"
         data-contextmenu-table="pages"
@@ -34,6 +35,7 @@ Examples
     >Click and Contextmenu</a>
 
 .. code-block:: html
+
     <a href="#"
         data-contextmenu-trigger="contextmenu"
         data-contextmenu-table="pages"
-- 
GitLab