[PATCH 3/6] doc: move away translations from top-level index

From: Federico Vaga
Date: Tue Jun 05 2018 - 18:50:07 EST


In translations/ we have now a dedicated index.rst where we add/remove
references to translations. Translations are in English alphabetical
order.

Signed-off-by: Federico Vaga <federico.vaga@xxxxxxxxxx>
---
Documentation/index.rst | 24 ++++--------------------
Documentation/translations/index.rst | 12 ++++++++++++
2 files changed, 16 insertions(+), 20 deletions(-)
create mode 100644 Documentation/translations/index.rst

diff --git a/Documentation/index.rst b/Documentation/index.rst
index 3b99ab931d41..f7ab4d6a281e 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -101,29 +101,13 @@ implementation.

sh/index

-Korean translations
--------------------
+Translations
+------------

.. toctree::
- :maxdepth: 1
-
- translations/ko_KR/index
-
-Chinese translations
---------------------
-
-.. toctree::
- :maxdepth: 1
-
- translations/zh_CN/index
-
-Japanese translations
----------------------
-
-.. toctree::
- :maxdepth: 1
+ :maxdepth: 2

- translations/ja_JP/index
+ translations/index

Indices and tables
==================
diff --git a/Documentation/translations/index.rst b/Documentation/translations/index.rst
new file mode 100644
index 000000000000..4969c58920ef
--- /dev/null
+++ b/Documentation/translations/index.rst
@@ -0,0 +1,12 @@
+.. _translations:
+
+============
+Translations
+============
+
+.. toctree::
+ :maxdepth: 1
+
+ zh_CN/index
+ ko_KR/index
+ ja_JP/index
--
2.14.4