docs: Group arch-specific documentation under "CPU Architectures"

To declutter the top-level table of contents (the side bar), this
patch reduces the architecture-specfic documentation to one top-level
item, "CPU Architectures".

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20210312152804.2110703-1-j.neuschaefer@gmx.net
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Jonathan Neuschäfer 2021-03-12 16:28:03 +01:00 committed by Jonathan Corbet
parent 0860b72d53
commit 3eca1cfbc1
2 changed files with 28 additions and 18 deletions

26
Documentation/arch.rst Normal file
View File

@ -0,0 +1,26 @@
.. SPDX-License-Identifier: GPL-2.0
CPU Architectures
=================
These books provide programming details about architecture-specific
implementation.
.. toctree::
:maxdepth: 2
arm/index
arm64/index
ia64/index
m68k/index
mips/index
nios2/index
openrisc/index
parisc/index
powerpc/index
riscv/index
s390/index
sh/index
sparc/index
x86/index
xtensa/index

View File

@ -149,27 +149,11 @@ Architecture-agnostic documentation
Architecture-specific documentation Architecture-specific documentation
----------------------------------- -----------------------------------
These books provide programming details about architecture-specific
implementation.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
arm/index arch
arm64/index
ia64/index
m68k/index
mips/index
nios2/index
openrisc/index
parisc/index
powerpc/index
riscv/index
s390/index
sh/index
sparc/index
x86/index
xtensa/index
Other documentation Other documentation
------------------- -------------------