From 239a55ce8b6356dd981905ed67aca2fa69af2d05 Mon Sep 17 00:00:00 2001
From: Martin Bless <martin.bless@mbless.de>
Date: Thu, 14 Dec 2017 14:24:02 +0100
Subject: [PATCH] [TASK] Optimize structure of ChangeLog documentation

Have a slightly different menu setup of the rendered
documentation, especially affects docs.typo3.org

Change-Id: I357c1f59ff7606361b680128d5a3934c981a4f43
Resolves: #83325
Releases: master
Reviewed-on: https://review.typo3.org/55072
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 .../sysext/core/Documentation/Changelog-8.rst | 21 +++++++++++++++++++
 .../sysext/core/Documentation/Changelog-9.rst | 14 +++++++++++++
 .../Documentation/Changelog/master/Index.rst  |  2 +-
 typo3/sysext/core/Documentation/Index.rst     | 21 +++++++------------
 typo3/sysext/core/Documentation/Master.rst    | 14 +++++++++++++
 5 files changed, 57 insertions(+), 15 deletions(-)
 create mode 100644 typo3/sysext/core/Documentation/Changelog-8.rst
 create mode 100644 typo3/sysext/core/Documentation/Changelog-9.rst
 create mode 100644 typo3/sysext/core/Documentation/Master.rst

diff --git a/typo3/sysext/core/Documentation/Changelog-8.rst b/typo3/sysext/core/Documentation/Changelog-8.rst
new file mode 100644
index 000000000000..1c684bef6ce2
--- /dev/null
+++ b/typo3/sysext/core/Documentation/Changelog-8.rst
@@ -0,0 +1,21 @@
+:orphan:
+
+.. include:: Includes.txt
+
+============
+ChangeLog v8
+============
+
+Every change to the TYPO3 Core which might affect your site is documented here.
+
+.. toctree::
+   :titlesonly:
+
+   Changelog/8.7/Index
+   Changelog/8.6/Index
+   Changelog/8.5/Index
+   Changelog/8.4/Index
+   Changelog/8.3/Index
+   Changelog/8.2/Index
+   Changelog/8.1/Index
+   Changelog/8.0/Index
diff --git a/typo3/sysext/core/Documentation/Changelog-9.rst b/typo3/sysext/core/Documentation/Changelog-9.rst
new file mode 100644
index 000000000000..485a31ca5ea3
--- /dev/null
+++ b/typo3/sysext/core/Documentation/Changelog-9.rst
@@ -0,0 +1,14 @@
+:orphan:
+
+.. include:: Includes.txt
+
+============
+ChangeLog v9
+============
+
+Every change to the TYPO3 Core which might affect your site is documented here.
+
+.. toctree::
+   :titlesonly:
+
+   Changelog/9.0/Index
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Index.rst b/typo3/sysext/core/Documentation/Changelog/master/Index.rst
index 40688c191d8a..0fc4d9740b49 100644
--- a/typo3/sysext/core/Documentation/Changelog/master/Index.rst
+++ b/typo3/sysext/core/Documentation/Changelog/master/Index.rst
@@ -1,7 +1,7 @@
 
 .. include:: ../../Includes.txt
 
-master changes
+master Changes
 ==============
 
 **Table of contents**
diff --git a/typo3/sysext/core/Documentation/Index.rst b/typo3/sysext/core/Documentation/Index.rst
index f41d9089b171..040170e3bec9 100644
--- a/typo3/sysext/core/Documentation/Index.rst
+++ b/typo3/sysext/core/Documentation/Index.rst
@@ -1,26 +1,19 @@
 
 .. include:: Includes.txt
 
-===========================
-TYPO3 CMS Core ChangeLog v8
-===========================
+========================
+TYPO3 CMS Core ChangeLog
+========================
 
 :Rendered: |today|
 
 Every change to the TYPO3 Core which might affect your site is documented here.
 
 .. toctree::
-   :hidden:
+   :titlesonly:
 
    Sitemap/Index
-   Changelog/master/Index
-   Changelog/9.0/Index
-   Changelog/8.7/Index
-   Changelog/8.6/Index
-   Changelog/8.5/Index
-   Changelog/8.4/Index
-   Changelog/8.3/Index
-   Changelog/8.2/Index
-   Changelog/8.1/Index
-   Changelog/8.0/Index
+   Master
+   Changelog-9
+   Changelog-8
    Changelog/Howto
diff --git a/typo3/sysext/core/Documentation/Master.rst b/typo3/sysext/core/Documentation/Master.rst
new file mode 100644
index 000000000000..b8a70a6eec96
--- /dev/null
+++ b/typo3/sysext/core/Documentation/Master.rst
@@ -0,0 +1,14 @@
+:orphan:
+
+.. include:: Includes.txt
+
+================
+ChangeLog master
+================
+
+Every change to the TYPO3 Core which might affect your site is documented here.
+
+.. toctree::
+   :titlesonly:
+
+   Changelog/master/Index
-- 
GitLab