From 62f3ffe9ae2245f027d146a2a6a838956f9491df Mon Sep 17 00:00:00 2001
From: Sybille Peters <sypets@gmx.de>
Date: Sun, 16 Feb 2020 12:57:54 +0100
Subject: [PATCH] [DOCS] Optimize scheduler documentation

We move chapter on scheduler command line execution to top level in
the menu. This was somewhat hidden under "Installation". Additionally,
we add a link to this chapter to the section on cron.

Additionally the chapter "Installation" is renamed to "Installation &
setup".

"Administration" is renamed to "Backend administration".

Resolves: #90395
Releases: master, 9.5
Change-Id: Id25cdb16f9f3c87c9fdac1194246c5d471d1476c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63271
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
---
 .../sysext/scheduler/Documentation/Administration/Index.rst | 5 +++--
 typo3/sysext/scheduler/Documentation/Index.rst              | 1 +
 .../scheduler/Documentation/Installation/CronJob/Index.rst  | 5 +++++
 typo3/sysext/scheduler/Documentation/Installation/Index.rst | 6 +++---
 4 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/typo3/sysext/scheduler/Documentation/Administration/Index.rst b/typo3/sysext/scheduler/Documentation/Administration/Index.rst
index 61d621f7d41d..623f68318d06 100644
--- a/typo3/sysext/scheduler/Documentation/Administration/Index.rst
+++ b/typo3/sysext/scheduler/Documentation/Administration/Index.rst
@@ -9,8 +9,9 @@
 
 .. _administration:
 
-Administration
---------------
+======================
+Backend administration
+======================
 
 The Scheduler provides a BE module to manage tasks. It provides three
 screens: a setup check, an information screen and the main (default)
diff --git a/typo3/sysext/scheduler/Documentation/Index.rst b/typo3/sysext/scheduler/Documentation/Index.rst
index dfe1e3773d75..7e64b13c6a05 100644
--- a/typo3/sysext/scheduler/Documentation/Index.rst
+++ b/typo3/sysext/scheduler/Documentation/Index.rst
@@ -59,6 +59,7 @@ a GNU/GPL CMS/Framework available from `www.typo3.org
    Overview/Index
    Installation/Index
    Administration/Index
+   Installation/SchedulerShellScript/Index
    DevelopersGuide/Index
    KnownProblems/Index
    AppendixA/Index
diff --git a/typo3/sysext/scheduler/Documentation/Installation/CronJob/Index.rst b/typo3/sysext/scheduler/Documentation/Installation/CronJob/Index.rst
index 6cd0f2df04b1..e12e5a1edc9c 100644
--- a/typo3/sysext/scheduler/Documentation/Installation/CronJob/Index.rst
+++ b/typo3/sysext/scheduler/Documentation/Installation/CronJob/Index.rst
@@ -63,6 +63,11 @@ Save the modified crontab. Obviously the paths have to be adapted to
 your system. The above command will call up the Scheduler every 15
 minutes.
 
+.. seealso::
+
+   See :ref:`scheduler-shell-script` for more information about
+   calling the scheduler from the command line.
+
 If you are editing system crontabs (for example :code:`/etc/crontab`
 and :code:`/etc/cron.d/\*` ), there will be one additional parameter
 to enter, i.e. the user with which the job should run. Example
diff --git a/typo3/sysext/scheduler/Documentation/Installation/Index.rst b/typo3/sysext/scheduler/Documentation/Installation/Index.rst
index 193273f8cb6d..2bff5a391df1 100644
--- a/typo3/sysext/scheduler/Documentation/Installation/Index.rst
+++ b/typo3/sysext/scheduler/Documentation/Installation/Index.rst
@@ -9,8 +9,9 @@
 
 .. _installation:
 
-Installation
-------------
+====================
+Installation & setup
+====================
 
 
 .. toctree::
@@ -20,7 +21,6 @@ Installation
 
    Installing/Index
    SetupCheck/Index
-   SchedulerShellScript/Index
    CronJob/Index
    BaseTasks/Index
 
-- 
GitLab