[PATCH 1/2] docs: create a top-level arch/ directory

From: Jonathan Corbet
Date: Wed Mar 15 2023 - 17:16:06 EST


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@xxxxxxx>
---
Documentation/arch.rst | 28 ----------------------------
Documentation/arch/index.rst | 28 ++++++++++++++++++++++++++++
Documentation/index.rst | 2 +-
3 files changed, 29 insertions(+), 29 deletions(-)
delete mode 100644 Documentation/arch.rst
create mode 100644 Documentation/arch/index.rst

diff --git a/Documentation/arch.rst b/Documentation/arch.rst
deleted file mode 100644
index 41a66a8b38e4..000000000000
--- a/Documentation/arch.rst
+++ /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
index 000000000000..5f494e001eb4
--- /dev/null
+++ b/Documentation/arch/index.rst
@@ -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
diff --git a/Documentation/index.rst b/Documentation/index.rst
index 76d1a3ec9be3..9dfdc826618c 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -99,7 +99,7 @@ Architecture-specific documentation
.. toctree::
:maxdepth: 2

- arch
+ arch/index


Other documentation
--
2.39.2