2023-07-25 05:29:53

by Costa Shulyupin

[permalink] [raw]
Subject: [PATCH] docs: move mips under arch

and fix all in-tree references.

Architecture-specific documentation is being moved into Documentation/arch/
as a way of cleaning up the top-level documentation directory and making
the docs hierarchy more closely match the source hierarchy.

Signed-off-by: Costa Shulyupin <[email protected]>
---
Documentation/arch/index.rst | 2 +-
Documentation/{ => arch}/mips/booting.rst | 0
Documentation/{ => arch}/mips/features.rst | 0
Documentation/{ => arch}/mips/index.rst | 0
Documentation/{ => arch}/mips/ingenic-tcu.rst | 0
Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 2 +-
Documentation/translations/zh_CN/arch/index.rst | 2 +-
Documentation/translations/zh_CN/{ => arch}/mips/booting.rst | 4 ++--
Documentation/translations/zh_CN/{ => arch}/mips/features.rst | 4 ++--
Documentation/translations/zh_CN/{ => arch}/mips/index.rst | 4 ++--
.../translations/zh_CN/{ => arch}/mips/ingenic-tcu.rst | 4 ++--
MAINTAINERS | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
rename Documentation/{ => arch}/mips/booting.rst (100%)
rename Documentation/{ => arch}/mips/features.rst (100%)
rename Documentation/{ => arch}/mips/index.rst (100%)
rename Documentation/{ => arch}/mips/ingenic-tcu.rst (100%)
rename Documentation/translations/zh_CN/{ => arch}/mips/booting.rst (92%)
rename Documentation/translations/zh_CN/{ => arch}/mips/features.rst (65%)
rename Documentation/translations/zh_CN/{ => arch}/mips/index.rst (79%)
rename Documentation/translations/zh_CN/{ => arch}/mips/ingenic-tcu.rst (97%)

diff --git a/Documentation/arch/index.rst b/Documentation/arch/index.rst
index d39504fae12c..84b80255b851 100644
--- a/Documentation/arch/index.rst
+++ b/Documentation/arch/index.rst
@@ -15,7 +15,7 @@ implementation.
ia64/index
loongarch/index
m68k/index
- ../mips/index
+ mips/index
nios2/index
openrisc/index
parisc/index
diff --git a/Documentation/mips/booting.rst b/Documentation/arch/mips/booting.rst
similarity index 100%
rename from Documentation/mips/booting.rst
rename to Documentation/arch/mips/booting.rst
diff --git a/Documentation/mips/features.rst b/Documentation/arch/mips/features.rst
similarity index 100%
rename from Documentation/mips/features.rst
rename to Documentation/arch/mips/features.rst
diff --git a/Documentation/mips/index.rst b/Documentation/arch/mips/index.rst
similarity index 100%
rename from Documentation/mips/index.rst
rename to Documentation/arch/mips/index.rst
diff --git a/Documentation/mips/ingenic-tcu.rst b/Documentation/arch/mips/ingenic-tcu.rst
similarity index 100%
rename from Documentation/mips/ingenic-tcu.rst
rename to Documentation/arch/mips/ingenic-tcu.rst
diff --git a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
index 2d14610888a7..585b5f5217c4 100644
--- a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
+++ b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
@@ -8,7 +8,7 @@ title: Ingenic SoCs Timer/Counter Unit (TCU)

description: |
For a description of the TCU hardware and drivers, have a look at
- Documentation/mips/ingenic-tcu.rst.
+ Documentation/arch/mips/ingenic-tcu.rst.

maintainers:
- Paul Cercueil <[email protected]>
diff --git a/Documentation/translations/zh_CN/arch/index.rst b/Documentation/translations/zh_CN/arch/index.rst
index d4c1c729dde2..e3d273d7d599 100644
--- a/Documentation/translations/zh_CN/arch/index.rst
+++ b/Documentation/translations/zh_CN/arch/index.rst
@@ -8,7 +8,7 @@
.. toctree::
:maxdepth: 2

- ../mips/index
+ mips/index
arm64/index
../riscv/index
openrisc/index
diff --git a/Documentation/translations/zh_CN/mips/booting.rst b/Documentation/translations/zh_CN/arch/mips/booting.rst
similarity index 92%
rename from Documentation/translations/zh_CN/mips/booting.rst
rename to Documentation/translations/zh_CN/arch/mips/booting.rst
index e0bbd3f20862..485b57e0ca0b 100644
--- a/Documentation/translations/zh_CN/mips/booting.rst
+++ b/Documentation/translations/zh_CN/arch/mips/booting.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0

-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst

-:Original: Documentation/mips/booting.rst
+:Original: Documentation/arch/mips/booting.rst

:翻译:

diff --git a/Documentation/translations/zh_CN/mips/features.rst b/Documentation/translations/zh_CN/arch/mips/features.rst
similarity index 65%
rename from Documentation/translations/zh_CN/mips/features.rst
rename to Documentation/translations/zh_CN/arch/mips/features.rst
index b61dab06ceaf..da1b956e4a40 100644
--- a/Documentation/translations/zh_CN/mips/features.rst
+++ b/Documentation/translations/zh_CN/arch/mips/features.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0

-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst

-:Original: Documentation/mips/features.rst
+:Original: Documentation/arch/mips/features.rst

:翻译:

diff --git a/Documentation/translations/zh_CN/mips/index.rst b/Documentation/translations/zh_CN/arch/mips/index.rst
similarity index 79%
rename from Documentation/translations/zh_CN/mips/index.rst
rename to Documentation/translations/zh_CN/arch/mips/index.rst
index 192c6adbb72e..2a34217119ea 100644
--- a/Documentation/translations/zh_CN/mips/index.rst
+++ b/Documentation/translations/zh_CN/arch/mips/index.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0

-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst

-:Original: Documentation/mips/index.rst
+:Original: Documentation/arch/mips/index.rst

:翻译:

diff --git a/Documentation/translations/zh_CN/mips/ingenic-tcu.rst b/Documentation/translations/zh_CN/arch/mips/ingenic-tcu.rst
similarity index 97%
rename from Documentation/translations/zh_CN/mips/ingenic-tcu.rst
rename to Documentation/translations/zh_CN/arch/mips/ingenic-tcu.rst
index ddbe149c517b..3d599a36b571 100644
--- a/Documentation/translations/zh_CN/mips/ingenic-tcu.rst
+++ b/Documentation/translations/zh_CN/arch/mips/ingenic-tcu.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0

-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst

-:Original: Documentation/mips/ingenic-tcu.rst
+:Original: Documentation/arch/mips/ingenic-tcu.rst

:翻译:

diff --git a/MAINTAINERS b/MAINTAINERS
index 6c650179159f..d1d8a9745761 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14215,7 +14215,7 @@ W: http://www.linux-mips.org/
Q: https://patchwork.kernel.org/project/linux-mips/list/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git
F: Documentation/devicetree/bindings/mips/
-F: Documentation/mips/
+F: Documentation/arch/mips/
F: arch/mips/
F: drivers/platform/mips/
F: include/dt-bindings/mips/
--
2.41.0



2023-07-25 14:59:33

by Philippe Mathieu-Daudé

[permalink] [raw]
Subject: Re: [PATCH] docs: move mips under arch

On 25/7/23 06:38, Costa Shulyupin wrote:
> and fix all in-tree references.
>
> Architecture-specific documentation is being moved into Documentation/arch/
> as a way of cleaning up the top-level documentation directory and making
> the docs hierarchy more closely match the source hierarchy.
>
> Signed-off-by: Costa Shulyupin <[email protected]>
> ---
> Documentation/arch/index.rst | 2 +-
> Documentation/{ => arch}/mips/booting.rst | 0
> Documentation/{ => arch}/mips/features.rst | 0
> Documentation/{ => arch}/mips/index.rst | 0
> Documentation/{ => arch}/mips/ingenic-tcu.rst | 0
> Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 2 +-
> Documentation/translations/zh_CN/arch/index.rst | 2 +-
> Documentation/translations/zh_CN/{ => arch}/mips/booting.rst | 4 ++--
> Documentation/translations/zh_CN/{ => arch}/mips/features.rst | 4 ++--
> Documentation/translations/zh_CN/{ => arch}/mips/index.rst | 4 ++--
> .../translations/zh_CN/{ => arch}/mips/ingenic-tcu.rst | 4 ++--
> MAINTAINERS | 2 +-
> 12 files changed, 12 insertions(+), 12 deletions(-)
> rename Documentation/{ => arch}/mips/booting.rst (100%)
> rename Documentation/{ => arch}/mips/features.rst (100%)
> rename Documentation/{ => arch}/mips/index.rst (100%)
> rename Documentation/{ => arch}/mips/ingenic-tcu.rst (100%)
> rename Documentation/translations/zh_CN/{ => arch}/mips/booting.rst (92%)
> rename Documentation/translations/zh_CN/{ => arch}/mips/features.rst (65%)
> rename Documentation/translations/zh_CN/{ => arch}/mips/index.rst (79%)
> rename Documentation/translations/zh_CN/{ => arch}/mips/ingenic-tcu.rst (97%)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


2023-07-31 18:01:56

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: move mips under arch

Costa Shulyupin <[email protected]> writes:

> and fix all in-tree references.
>
> Architecture-specific documentation is being moved into Documentation/arch/
> as a way of cleaning up the top-level documentation directory and making
> the docs hierarchy more closely match the source hierarchy.
>
> Signed-off-by: Costa Shulyupin <[email protected]>
> ---
> Documentation/arch/index.rst | 2 +-
> Documentation/{ => arch}/mips/booting.rst | 0
> Documentation/{ => arch}/mips/features.rst | 0
> Documentation/{ => arch}/mips/index.rst | 0
> Documentation/{ => arch}/mips/ingenic-tcu.rst | 0
> Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 2 +-
> Documentation/translations/zh_CN/arch/index.rst | 2 +-
> Documentation/translations/zh_CN/{ => arch}/mips/booting.rst | 4 ++--
> Documentation/translations/zh_CN/{ => arch}/mips/features.rst | 4 ++--
> Documentation/translations/zh_CN/{ => arch}/mips/index.rst | 4 ++--
> .../translations/zh_CN/{ => arch}/mips/ingenic-tcu.rst | 4 ++--
> MAINTAINERS | 2 +-
> 12 files changed, 12 insertions(+), 12 deletions(-)
> rename Documentation/{ => arch}/mips/booting.rst (100%)
> rename Documentation/{ => arch}/mips/features.rst (100%)
> rename Documentation/{ => arch}/mips/index.rst (100%)
> rename Documentation/{ => arch}/mips/ingenic-tcu.rst (100%)
> rename Documentation/translations/zh_CN/{ => arch}/mips/booting.rst (92%)
> rename Documentation/translations/zh_CN/{ => arch}/mips/features.rst (65%)
> rename Documentation/translations/zh_CN/{ => arch}/mips/index.rst (79%)
> rename Documentation/translations/zh_CN/{ => arch}/mips/ingenic-tcu.rst (97%)

Applied, thanks.

jon