From 881bcc6be487016bc40069ce3193069cd0a406c6 Mon Sep 17 00:00:00 2001
From: linawolf <112@linawolf.de>
Date: Mon, 13 Dec 2021 10:56:32 +0100
Subject: [PATCH] [DOCS] Resolve warnings in System extensions manuals

Includes changed links, missing images, wrong path's in includes etc.
Excluded EXT:form as resolving the warnings is a large TASK there.

Releases: main, 11.5
Resolves: #96345
Change-Id: I05d73d7fa211bbf9308a3c7a2161b1b5184d7b31
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72640
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Lina Wolf <112@linawolf.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Lina Wolf <112@linawolf.de>
---
 .../adminpanel/Documentation/Configuration/Index.rst     | 2 +-
 typo3/sysext/adminpanel/Documentation/Index.rst          | 3 +--
 .../fluid_styled_content/Documentation/Settings.cfg      | 2 --
 typo3/sysext/linkvalidator/Documentation/Includes.txt    | 1 +
 .../linkvalidator/Documentation/Introduction/Index.rst   | 9 ++-------
 .../Documentation/Administration/Workspaces/Index.rst    | 2 +-
 .../workspaces/Documentation/Introduction/Index.rst      | 6 +++---
 typo3/sysext/workspaces/Documentation/Settings.cfg       | 4 ++--
 8 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/typo3/sysext/adminpanel/Documentation/Configuration/Index.rst b/typo3/sysext/adminpanel/Documentation/Configuration/Index.rst
index 177b93728eab..32a950fc205f 100644
--- a/typo3/sysext/adminpanel/Documentation/Configuration/Index.rst
+++ b/typo3/sysext/adminpanel/Documentation/Configuration/Index.rst
@@ -1,4 +1,4 @@
-.. include:: ../Includes.txt
+.. include:: /Includes.txt
 
 .. _configuration:
 
diff --git a/typo3/sysext/adminpanel/Documentation/Index.rst b/typo3/sysext/adminpanel/Documentation/Index.rst
index 956f877ff003..32bd4c827e52 100644
--- a/typo3/sysext/adminpanel/Documentation/Index.rst
+++ b/typo3/sysext/adminpanel/Documentation/Index.rst
@@ -1,7 +1,7 @@
 .. every .rst file should include Includes.txt
 .. use correct path!
 
-.. include:: Includes.txt
+.. include:: /Includes.txt
 
 .. Every manual should have a start label for cross-referencing to
 .. start page. Do not remove this!
@@ -59,5 +59,4 @@ request.
    Inspecting/Index
    Settings/Index
    Extending/Index
-   Changelog/Index
    Sitemap
diff --git a/typo3/sysext/fluid_styled_content/Documentation/Settings.cfg b/typo3/sysext/fluid_styled_content/Documentation/Settings.cfg
index ea71d9432e05..d4b4dd953b1c 100644
--- a/typo3/sysext/fluid_styled_content/Documentation/Settings.cfg
+++ b/typo3/sysext/fluid_styled_content/Documentation/Settings.cfg
@@ -13,8 +13,6 @@ description = This documentation is about TYPO3's system extension
       "fluid_styled_content" which provides content elements and uses Fluid to render
       frontend output.
 
-todo_include_todos = true
-
 [html_theme_options]
 
 ; for theme t3SphinxThemeRtd
diff --git a/typo3/sysext/linkvalidator/Documentation/Includes.txt b/typo3/sysext/linkvalidator/Documentation/Includes.txt
index 6f6d15ac0e57..400b4e9b4ff0 100644
--- a/typo3/sysext/linkvalidator/Documentation/Includes.txt
+++ b/typo3/sysext/linkvalidator/Documentation/Includes.txt
@@ -12,6 +12,7 @@
 .. --------------------------------------------------
 
 .. role::   typoscript(code)
+.. role::   sql(code)
 
 .. role::   ts(typoscript)
    :class:  typoscript
diff --git a/typo3/sysext/linkvalidator/Documentation/Introduction/Index.rst b/typo3/sysext/linkvalidator/Documentation/Introduction/Index.rst
index 1a7136fb8e00..d73f492f818d 100644
--- a/typo3/sysext/linkvalidator/Documentation/Introduction/Index.rst
+++ b/typo3/sysext/linkvalidator/Documentation/Introduction/Index.rst
@@ -97,14 +97,9 @@ The LinkValidator features full support of the TYPO3 Scheduler. This is
 the LinkValidator task:
 
 .. figure:: ../Images/SchedulerTask.png
-   :alt: The LinkValidator Scheduler task (1)
+   :alt: The LinkValidator Scheduler task
 
-   Defining the LinkValidator task in the Scheduler (2)
-
-.. figure:: ../Images/SchedulerTask2.png
-   :alt: The LinkValidator Scheduler task (2)
-
-   Defining the LinkValidator task in the Scheduler (2)
+   Defining the LinkValidator task in the Scheduler
 
 
 -   With this task you can run LinkValidator regularly via cron without
diff --git a/typo3/sysext/workspaces/Documentation/Administration/Workspaces/Index.rst b/typo3/sysext/workspaces/Documentation/Administration/Workspaces/Index.rst
index 5ab39f42a3ca..9024e00fd1a5 100644
--- a/typo3/sysext/workspaces/Documentation/Administration/Workspaces/Index.rst
+++ b/typo3/sysext/workspaces/Documentation/Administration/Workspaces/Index.rst
@@ -84,4 +84,4 @@ mind. Although the ideal is complete transparency in backend and
 perfect previews in the frontend, this is almost impossible to obtain.
 Nevertheless a high level of consistency can be obtained by using the API
 provided by TYPO3 CMS. These functions and the challenges they are designed to
-address are discussed in :ref:`TYPO3 Core API <t3api:workspaces>`.
+address are discussed in :ref:`TYPO3 Explained <t3coreapi:workspaces>`.
diff --git a/typo3/sysext/workspaces/Documentation/Introduction/Index.rst b/typo3/sysext/workspaces/Documentation/Introduction/Index.rst
index f17a2c6953a2..c236f3f39ba3 100644
--- a/typo3/sysext/workspaces/Documentation/Introduction/Index.rst
+++ b/typo3/sysext/workspaces/Documentation/Introduction/Index.rst
@@ -27,9 +27,9 @@ Credits
 ^^^^^^^
 
 This manual corresponds in large parts to the original version from
-Kasper found in the :ref:`Inside TYPO3 <t3inside:start>` document. It was adjusted and
-updated to fit with the workspaces and versioning modules as found in
-current versions.
+Kasper found in `Inside TYPO3 <https://docs.typo3.org/typo3cms/InsideTypo3Reference/>`__
+document. It was adjusted and updated to fit with the workspaces and versioning
+modules and moved into :ref:`TYPO3 Explained <t3coreapi:workspaces>`.
 
 
 .. _feedback:
diff --git a/typo3/sysext/workspaces/Documentation/Settings.cfg b/typo3/sysext/workspaces/Documentation/Settings.cfg
index 59ffa328a21b..1e3e697122e8 100644
--- a/typo3/sysext/workspaces/Documentation/Settings.cfg
+++ b/typo3/sysext/workspaces/Documentation/Settings.cfg
@@ -14,8 +14,8 @@ description = This is the documentation of TYPO3's system
 
 ; in this manual we actually use:
 
-t3api        = https://docs.typo3.org/typo3cms/CoreApiReference/
-t3tca        = https://docs.typo3.org/typo3cms/TCAReference/
+t3coreapi     = https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/
+t3tca         = https://docs.typo3.org/m/typo3/reference-tca/main/en-us/
 t3inside     = https://docs.typo3.org/typo3cms/InsideTypo3Reference/
 
 
-- 
GitLab