[PATCH 2/4] Documentation: streamline subproject index link in translations
#In reviewFrom:Jani Nikula <jani.nikula@intel.com>
Date:
Message-ID:<643adf4e5bc0d7638b4f51d2542c7983cf5cff69.1762948491.git.jani.nikula@intel.com>
Patch:v1 · 2/4
Language:Mixed
Patch-ID:f81aa986477aed3d9805e360e88d7b2645b15829
Files:
Documentation/translations/index.rstDocumentation/translations/it_IT/RCU/index.rstDocumentation/translations/it_IT/core-api/index.rstDocumentation/translations/it_IT/doc-guide/index.rstDocumentation/translations/it_IT/i2c/index.rstDocumentation/translations/it_IT/index.rstDocumentation/translations/it_IT/locking/index.rstDocumentation/translations/it_IT/process/index.rstDocumentation/translations/zh_CN/admin-guide/index.rstDocumentation/translations/zh_CN/core-api/index.rstDocumentation/translations/zh_CN/doc-guide/index.rstDocumentation/translations/zh_CN/driver-api/index.rstDocumentation/translations/zh_CN/infiniband/index.rstDocumentation/translations/zh_CN/kbuild/index.rstDocumentation/translations/zh_CN/locking/index.rstDocumentation/translations/zh_CN/networking/index.rstDocumentation/translations/zh_CN/peci/index.rstDocumentation/translations/zh_CN/power/index.rstDocumentation/translations/zh_CN/process/index.rstDocumentation/translations/zh_CN/rust/index.rstDocumentation/translations/zh_CN/scheduler/index.rstDocumentation/translations/zh_CN/sound/index.rstDocumentation/translations/zh_CN/userspace-api/index.rstDocumentation/translations/zh_CN/virt/index.rstDocumentation/translations/zh_TW/admin-guide/index.rstDocumentation/translations/zh_TW/process/index.rstLinks:lore message ↗ · raw mail ↗
Patch content 26 changed files
Remove index links deep inside the translations structure. We'll want: - Top level index link at the translations index.rst when doing SPHINXDIRS builds. Add this. - Language specific top level index links when doing HTML builds. This should not depend on SPHINXDIRS. Most translations have it already, add one for Italian, the remaining ones I'm not capable of adding. Cc: Randy Dunlap <rdunlap@infradead.org>Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>Cc: Jonathan Corbet <corbet@lwn.net>Signed-off-by: Jani Nikula <jani.nikula@intel.com>--- Documentation/translations/index.rst | 7 +++++++ Documentation/translations/it_IT/RCU/index.rst | 7 ------- Documentation/translations/it_IT/core-api/index.rst | 7 ------- Documentation/translations/it_IT/doc-guide/index.rst | 7 ------- Documentation/translations/it_IT/i2c/index.rst | 7 ------- Documentation/translations/it_IT/index.rst | 7 +++++++ Documentation/translations/it_IT/locking/index.rst | 7 ------- Documentation/translations/it_IT/process/index.rst | 7 ------- Documentation/translations/zh_CN/admin-guide/index.rst | 7 ------- Documentation/translations/zh_CN/core-api/index.rst | 7 ------- Documentation/translations/zh_CN/doc-guide/index.rst | 7 ------- Documentation/translations/zh_CN/driver-api/index.rst | 7 ------- Documentation/translations/zh_CN/infiniband/index.rst | 9 --------- Documentation/translations/zh_CN/kbuild/index.rst | 8 -------- Documentation/translations/zh_CN/locking/index.rst | 7 ------- Documentation/translations/zh_CN/networking/index.rst | 7 ------- Documentation/translations/zh_CN/peci/index.rst | 7 ------- Documentation/translations/zh_CN/power/index.rst | 7 ------- Documentation/translations/zh_CN/process/index.rst | 7 ------- Documentation/translations/zh_CN/rust/index.rst | 7 ------- Documentation/translations/zh_CN/scheduler/index.rst | 7 ------- Documentation/translations/zh_CN/sound/index.rst | 7 ------- Documentation/translations/zh_CN/userspace-api/index.rst | 7 ------- Documentation/translations/zh_CN/virt/index.rst | 7 ------- Documentation/translations/zh_TW/admin-guide/index.rst | 8 -------- Documentation/translations/zh_TW/process/index.rst | 8 -------- 26 files changed, 14 insertions(+), 173 deletions(-) diff --git a/Documentation/translations/index.rst b/Documentation/translations/index.rstindex b826c34791c0..fbd7efd80507 100644--- a/Documentation/translations/index.rst+++ b/Documentation/translations/index.rst@@ -57,3 +57,10 @@ in a different form. If you need to communicate with the Linux community but you do not feel comfortable writing in English, you can ask the translation's maintainers for help.++.. only:: subproject and html++ Indices+ =======++ * :ref:`genindex`diff --git a/Documentation/translations/it_IT/RCU/index.rst b/Documentation/translations/it_IT/RCU/index.rstindex 22adf1d58752..e06588ccb11d 100644--- a/Documentation/translations/it_IT/RCU/index.rst+++ b/Documentation/translations/it_IT/RCU/index.rst@@ -10,10 +10,3 @@ Concetti su RCU :maxdepth: 3 torture--.. only:: subproject and html-- Indici- ======-- * :ref:`genindex`diff --git a/Documentation/translations/it_IT/core-api/index.rst b/Documentation/translations/it_IT/core-api/index.rstindex dad20402d11b..44320f33feb7 100644--- a/Documentation/translations/it_IT/core-api/index.rst+++ b/Documentation/translations/it_IT/core-api/index.rst@@ -21,10 +21,3 @@ sul tema. :maxdepth: 1 ../RCU/index--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/it_IT/doc-guide/index.rst b/Documentation/translations/it_IT/doc-guide/index.rstindex 9fffff626711..76553a9970d0 100644--- a/Documentation/translations/it_IT/doc-guide/index.rst+++ b/Documentation/translations/it_IT/doc-guide/index.rst@@ -15,10 +15,3 @@ Come scrivere la documentazione del kernel sphinx kernel-doc parse-headers--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/it_IT/i2c/index.rst b/Documentation/translations/it_IT/i2c/index.rstindex 14fbe3d78299..931a8403f831 100644--- a/Documentation/translations/it_IT/i2c/index.rst+++ b/Documentation/translations/it_IT/i2c/index.rst@@ -37,10 +37,3 @@ Argomenti avanzati .. toctree:: :maxdepth: 1--.. only:: subproject and html-- Indici- ======-- * :ref:`genindex`diff --git a/Documentation/translations/it_IT/index.rst b/Documentation/translations/it_IT/index.rstindex afa680607750..fb10549bc729 100644--- a/Documentation/translations/it_IT/index.rst+++ b/Documentation/translations/it_IT/index.rst@@ -135,3 +135,10 @@ Documentazione varia Ci sono documenti che sono difficili da inserire nell'attuale organizzazione della documentazione; altri hanno bisogno di essere migliorati e/o convertiti nel formato *reStructuredText*; altri sono semplicamente troppo vecchi.++.. only:: html++ Indici+ ======++ * :ref:`genindex`diff --git a/Documentation/translations/it_IT/locking/index.rst b/Documentation/translations/it_IT/locking/index.rstindex 19963d33e84d..3106466230d2 100644--- a/Documentation/translations/it_IT/locking/index.rst+++ b/Documentation/translations/it_IT/locking/index.rst@@ -11,10 +11,3 @@ Sincronizzazione lockdep-design lockstat locktorture--.. only:: subproject and html-- Indici- ======-- * :ref:`genindex`diff --git a/Documentation/translations/it_IT/process/index.rst b/Documentation/translations/it_IT/process/index.rstindex 5a5214f5fd72..d3c3354bc2c3 100644--- a/Documentation/translations/it_IT/process/index.rst+++ b/Documentation/translations/it_IT/process/index.rst@@ -98,10 +98,3 @@ degli sviluppatori: :maxdepth: 1 kernel-docs--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/admin-guide/index.rst b/Documentation/translations/zh_CN/admin-guide/index.rstindex 15d9ab5993a7..33d20c58fae9 100644--- a/Documentation/translations/zh_CN/admin-guide/index.rst+++ b/Documentation/translations/zh_CN/admin-guide/index.rst@@ -123,10 +123,3 @@ Todolist: * vga-softcursor * video-output * xfs--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/core-api/index.rst b/Documentation/translations/zh_CN/core-api/index.rstindex 453a02cd1f44..7baccf4a4640 100644--- a/Documentation/translations/zh_CN/core-api/index.rst+++ b/Documentation/translations/zh_CN/core-api/index.rst@@ -139,10 +139,3 @@ Todolist: Todolist: librs--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/doc-guide/index.rst b/Documentation/translations/zh_CN/doc-guide/index.rstindex 0ac1fc9315ea..faa3e4b8c518 100644--- a/Documentation/translations/zh_CN/doc-guide/index.rst+++ b/Documentation/translations/zh_CN/doc-guide/index.rst@@ -19,10 +19,3 @@ contributing maintainer-profile checktransupdate--.. only:: subproject and html-- 目录- ====-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/driver-api/index.rst b/Documentation/translations/zh_CN/driver-api/index.rstindex 4050a2fb51c6..c2acb8211df5 100644--- a/Documentation/translations/zh_CN/driver-api/index.rst+++ b/Documentation/translations/zh_CN/driver-api/index.rst@@ -120,10 +120,3 @@ Todolist: * xillybus * zorro * hte/index--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/infiniband/index.rst b/Documentation/translations/zh_CN/infiniband/index.rstindex 5634cc48379f..5c407e727f01 100644--- a/Documentation/translations/zh_CN/infiniband/index.rst+++ b/Documentation/translations/zh_CN/infiniband/index.rst@@ -29,12 +29,3 @@ infiniband tag_matching user_mad user_verbs----.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/kbuild/index.rst b/Documentation/translations/zh_CN/kbuild/index.rstindex 3f9ab52fa5bb..b3e2f70b5959 100644--- a/Documentation/translations/zh_CN/kbuild/index.rst+++ b/Documentation/translations/zh_CN/kbuild/index.rst@@ -26,11 +26,3 @@ TODO: - makefiles - modules - issues---.. only:: subproject and html-- 目录- =====-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/locking/index.rst b/Documentation/translations/zh_CN/locking/index.rstindex f0b10707668d..eab76c1a6ee7 100644--- a/Documentation/translations/zh_CN/locking/index.rst+++ b/Documentation/translations/zh_CN/locking/index.rst@@ -34,10 +34,3 @@ TODOList: * percpu-rw-semaphore * robust-futexes * robust-futex-ABI--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/networking/index.rst b/Documentation/translations/zh_CN/networking/index.rstindex bb0edcffd144..909ce66b2ca3 100644--- a/Documentation/translations/zh_CN/networking/index.rst+++ b/Documentation/translations/zh_CN/networking/index.rst@@ -151,10 +151,3 @@ Todolist: * xfrm_sysctl * xdp-rx-metadata * xsk-tx-metadata--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/peci/index.rst b/Documentation/translations/zh_CN/peci/index.rstindex 4f6694c828fa..53d3ddbf8d4e 100644--- a/Documentation/translations/zh_CN/peci/index.rst+++ b/Documentation/translations/zh_CN/peci/index.rst@@ -17,10 +17,3 @@ Linux PECI 子系统 peci--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/power/index.rst b/Documentation/translations/zh_CN/power/index.rstindex bc54983ba515..65c1b76ad046 100644--- a/Documentation/translations/zh_CN/power/index.rst+++ b/Documentation/translations/zh_CN/power/index.rst@@ -47,10 +47,3 @@ TODOList: * regulator/machine * regulator/overview * regulator/regulator--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/process/index.rst b/Documentation/translations/zh_CN/process/index.rstindex 3bcb3bdaf533..c54a732e0e8e 100644--- a/Documentation/translations/zh_CN/process/index.rst+++ b/Documentation/translations/zh_CN/process/index.rst@@ -93,10 +93,3 @@ TODOLIST: * adding-syscalls * botching-up-ioctls * clang-format--.. only:: subproject and html-- 目录- ====-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/rust/index.rst b/Documentation/translations/zh_CN/rust/index.rstindex b01f887e7167..c8bfbed908e4 100644--- a/Documentation/translations/zh_CN/rust/index.rst+++ b/Documentation/translations/zh_CN/rust/index.rst@@ -19,10 +19,3 @@ Rust general-information coding-guidelines arch-support--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/scheduler/index.rst b/Documentation/translations/zh_CN/scheduler/index.rstindex a8eaa7325f54..e5fe2def2945 100644--- a/Documentation/translations/zh_CN/scheduler/index.rst+++ b/Documentation/translations/zh_CN/scheduler/index.rst@@ -36,10 +36,3 @@ TODOList: sched-rt-group text_files--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/sound/index.rst b/Documentation/translations/zh_CN/sound/index.rstindex 28d5dca34a63..a218856c18ff 100644--- a/Documentation/translations/zh_CN/sound/index.rst+++ b/Documentation/translations/zh_CN/sound/index.rst@@ -13,10 +13,3 @@ Linux 声音子系统文档 :maxdepth: 2 hd-audio/index--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/userspace-api/index.rst b/Documentation/translations/zh_CN/userspace-api/index.rstindex 5b14721c8264..dfd6590664f8 100644--- a/Documentation/translations/zh_CN/userspace-api/index.rst+++ b/Documentation/translations/zh_CN/userspace-api/index.rst@@ -38,10 +38,3 @@ TODOList: * media/index * netlink/index * vduse--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_CN/virt/index.rst b/Documentation/translations/zh_CN/virt/index.rstindex f8dd13681341..59177de40d3a 100644--- a/Documentation/translations/zh_CN/virt/index.rst+++ b/Documentation/translations/zh_CN/virt/index.rst@@ -29,10 +29,3 @@ TODOLIST: kvm/index uml/user_mode_linux_howto_v2--.. only:: html and subproject-- Indices- =======-- * :ref:`genindex`diff --git a/Documentation/translations/zh_TW/admin-guide/index.rst b/Documentation/translations/zh_TW/admin-guide/index.rstindex 9335c0e9105d..74c98c437b91 100644--- a/Documentation/translations/zh_TW/admin-guide/index.rst+++ b/Documentation/translations/zh_TW/admin-guide/index.rst@@ -126,11 +126,3 @@ Todolist: * vga-softcursor * video-output * xfs--.. only:: subproject and html-- Indices- =======-- * :ref:`genindex`-diff --git a/Documentation/translations/zh_TW/process/index.rst b/Documentation/translations/zh_TW/process/index.rstindex 65922d9faa20..eb5d8794aa31 100644--- a/Documentation/translations/zh_TW/process/index.rst+++ b/Documentation/translations/zh_TW/process/index.rst@@ -57,11 +57,3 @@ magic-number volatile-considered-harmful--.. only:: subproject and html-- 目錄- ====-- * :ref:`genindex`--- 2.47.3