From 85c32d9c6f3ebcb6807f2a6a54b2578cf281654a Mon Sep 17 00:00:00 2001 From: Federico Vaga Date: Wed, 6 Jun 2018 00:49:00 +0200 Subject: doc: move away translations from top-level index 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 Signed-off-by: Jonathan Corbet --- Documentation/index.rst | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'Documentation/index.rst') diff --git a/Documentation/index.rst b/Documentation/index.rst index fdc585703498..20c00a9f2a93 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -102,29 +102,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 ================== -- cgit v1.2.3-55-g7522 From aa586e25744ad0a481fdba2da05041af235c110d Mon Sep 17 00:00:00 2001 From: Federico Vaga Date: Wed, 6 Jun 2018 00:49:01 +0200 Subject: doc: add some chapter labels The idea is to make it easier to create references (doc-guide does the same). This will be used, for example but not only, in translations to point to the main document. Signed-off-by: Federico Vaga Signed-off-by: Jonathan Corbet --- Documentation/index.rst | 2 ++ Documentation/kernel-hacking/index.rst | 2 ++ 2 files changed, 4 insertions(+) (limited to 'Documentation/index.rst') diff --git a/Documentation/index.rst b/Documentation/index.rst index 20c00a9f2a93..5d310d960f82 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -3,6 +3,8 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. +.. _linux_doc: + The Linux Kernel documentation ============================== diff --git a/Documentation/kernel-hacking/index.rst b/Documentation/kernel-hacking/index.rst index fcb0eda3cca3..f53027652290 100644 --- a/Documentation/kernel-hacking/index.rst +++ b/Documentation/kernel-hacking/index.rst @@ -1,3 +1,5 @@ +.. _kernel_hacking: + ===================== Kernel Hacking Guides ===================== -- cgit v1.2.3-55-g7522