docs: create a top-level arch/ directory
authorJonathan Corbet <corbet@lwn.net>
Tue, 14 Mar 2023 22:39:37 +0000 (16:39 -0600)
committerJonathan Corbet <corbet@lwn.net>
Thu, 23 Mar 2023 19:27:27 +0000 (13:27 -0600)
As the first step in bringing some order to our architecture-specific
documentation, create a top-level arch/ directory and move arch.rst as its
index.rst file.

There is no change in the rendered docs at this point.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/arch.rst [deleted file]
Documentation/arch/index.rst [new file with mode: 0644]
Documentation/index.rst

diff --git a/Documentation/arch.rst b/Documentation/arch.rst
deleted file mode 100644 (file)
index 41a66a8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-.. SPDX-License-Identifier: GPL-2.0
-
-CPU Architectures
-=================
-
-These books provide programming details about architecture-specific
-implementation.
-
-.. toctree::
-   :maxdepth: 2
-
-   arc/index
-   arm/index
-   arm64/index
-   ia64/index
-   loongarch/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
diff --git a/Documentation/arch/index.rst b/Documentation/arch/index.rst
new file mode 100644 (file)
index 0000000..5f494e0
--- /dev/null
@@ -0,0 +1,28 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+CPU Architectures
+=================
+
+These books provide programming details about architecture-specific
+implementation.
+
+.. toctree::
+   :maxdepth: 2
+
+   ../arc/index
+   ../arm/index
+   ../arm64/index
+   ../ia64/index
+   ../loongarch/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
index 76d1a3e..9dfdc82 100644 (file)
@@ -99,7 +99,7 @@ Architecture-specific documentation
 .. toctree::
    :maxdepth: 2
 
-   arch
+   arch/index
 
 
 Other documentation