From 2f6fb781a2f9387c875cb176c2842426f70d52c8 Mon Sep 17 00:00:00 2001
From: Daniel Siepmann <daniel.siepmann@typo3.org>
Date: Thu, 4 Mar 2021 08:51:03 +0100
Subject: [PATCH] [DOCS] Fix broken cross reference to changelog entry

The reference to 85829 was broken.
It linked to 9.5 while the actual change was made in 9.4.
Therefore the link is adjusted to link to the actual existing file.

We use the :doc: syntax to allow sphinx to properly build the URL from
relative file path.

Resolves: #93641
Releases: master, 10.4, 9.5
Change-Id: Ia7755110b67ee4ff2efd3755cc5037d1f8e35f29
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68181
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 .../Changelog/9.5/Deprecation-86068-OldConditionSyntax.rst      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/core/Documentation/Changelog/9.5/Deprecation-86068-OldConditionSyntax.rst b/typo3/sysext/core/Documentation/Changelog/9.5/Deprecation-86068-OldConditionSyntax.rst
index c3e5b7babd08..cc31db51f54c 100644
--- a/typo3/sysext/core/Documentation/Changelog/9.5/Deprecation-86068-OldConditionSyntax.rst
+++ b/typo3/sysext/core/Documentation/Changelog/9.5/Deprecation-86068-OldConditionSyntax.rst
@@ -12,7 +12,7 @@ Description
 The Symfony expression language is available for TypoScript since :issue:`85829` has been merged.
 Accordingly the classic TypoScript condition syntax has been marked as deprecated.
 
-For detailed information about the new expression language see `#85829 <Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions.rst>`_.
+For detailed information about the new expression language see :doc:`#85829 <../9.4/Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions>`.
 
 
 Impact
-- 
GitLab