docs: move loongarch under arch
Commit Message
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 <costa.shul@redhat.com>
---
Documentation/arch/index.rst | 2 +-
Documentation/{ => arch}/loongarch/booting.rst | 0
Documentation/{ => arch}/loongarch/features.rst | 0
Documentation/{ => arch}/loongarch/index.rst | 0
Documentation/{ => arch}/loongarch/introduction.rst | 0
Documentation/{ => arch}/loongarch/irq-chip-model.rst | 0
Documentation/translations/zh_CN/arch/index.rst | 2 +-
.../translations/zh_CN/{ => arch}/loongarch/booting.rst | 4 ++--
.../translations/zh_CN/{ => arch}/loongarch/features.rst | 4 ++--
.../translations/zh_CN/{ => arch}/loongarch/index.rst | 4 ++--
.../translations/zh_CN/{ => arch}/loongarch/introduction.rst | 4 ++--
.../zh_CN/{ => arch}/loongarch/irq-chip-model.rst | 4 ++--
12 files changed, 12 insertions(+), 12 deletions(-)
rename Documentation/{ => arch}/loongarch/booting.rst (100%)
rename Documentation/{ => arch}/loongarch/features.rst (100%)
rename Documentation/{ => arch}/loongarch/index.rst (100%)
rename Documentation/{ => arch}/loongarch/introduction.rst (100%)
rename Documentation/{ => arch}/loongarch/irq-chip-model.rst (100%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/booting.rst (94%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/features.rst (61%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/index.rst (78%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/introduction.rst (99%)
rename Documentation/translations/zh_CN/{ => arch}/loongarch/irq-chip-model.rst (98%)
Comments
Costa Shulyupin <costa.shul@redhat.com> 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 <costa.shul@redhat.com>
> ---
> Documentation/arch/index.rst | 2 +-
> Documentation/{ => arch}/loongarch/booting.rst | 0
> Documentation/{ => arch}/loongarch/features.rst | 0
> Documentation/{ => arch}/loongarch/index.rst | 0
> Documentation/{ => arch}/loongarch/introduction.rst | 0
> Documentation/{ => arch}/loongarch/irq-chip-model.rst | 0
> Documentation/translations/zh_CN/arch/index.rst | 2 +-
> .../translations/zh_CN/{ => arch}/loongarch/booting.rst | 4 ++--
> .../translations/zh_CN/{ => arch}/loongarch/features.rst | 4 ++--
> .../translations/zh_CN/{ => arch}/loongarch/index.rst | 4 ++--
> .../translations/zh_CN/{ => arch}/loongarch/introduction.rst | 4 ++--
> .../zh_CN/{ => arch}/loongarch/irq-chip-model.rst | 4 ++--
> 12 files changed, 12 insertions(+), 12 deletions(-)
> rename Documentation/{ => arch}/loongarch/booting.rst (100%)
> rename Documentation/{ => arch}/loongarch/features.rst (100%)
> rename Documentation/{ => arch}/loongarch/index.rst (100%)
> rename Documentation/{ => arch}/loongarch/introduction.rst (100%)
> rename Documentation/{ => arch}/loongarch/irq-chip-model.rst (100%)
> rename Documentation/translations/zh_CN/{ => arch}/loongarch/booting.rst (94%)
> rename Documentation/translations/zh_CN/{ => arch}/loongarch/features.rst (61%)
> rename Documentation/translations/zh_CN/{ => arch}/loongarch/index.rst (78%)
> rename Documentation/translations/zh_CN/{ => arch}/loongarch/introduction.rst (99%)
> rename Documentation/translations/zh_CN/{ => arch}/loongarch/irq-chip-model.rst (98%)
A couple of things:
- I'm slowly working in this area...indeed, I have a loongarch move
already done, I just haven't posted it yet. So please talk to me if
you want to do more of these.
- If you do a move like this, you need to fix up the collateral damage.
There are references to Documentation/loongarch in MAINTAINERS and
drivers/irqchip/Kconfig that need to be fixed as well.
Thanks,
jon
@@ -13,7 +13,7 @@ implementation.
arm/index
arm64/index
ia64/index
- ../loongarch/index
+ loongarch/index
m68k/index
../mips/index
nios2/index
similarity index 100%
rename from Documentation/loongarch/booting.rst
rename to Documentation/arch/loongarch/booting.rst
similarity index 100%
rename from Documentation/loongarch/features.rst
rename to Documentation/arch/loongarch/features.rst
similarity index 100%
rename from Documentation/loongarch/index.rst
rename to Documentation/arch/loongarch/index.rst
similarity index 100%
rename from Documentation/loongarch/introduction.rst
rename to Documentation/arch/loongarch/introduction.rst
similarity index 100%
rename from Documentation/loongarch/irq-chip-model.rst
rename to Documentation/arch/loongarch/irq-chip-model.rst
@@ -13,7 +13,7 @@
../riscv/index
openrisc/index
parisc/index
- ../loongarch/index
+ loongarch/index
TODOList:
similarity index 94%
rename from Documentation/translations/zh_CN/loongarch/booting.rst
rename to Documentation/translations/zh_CN/arch/loongarch/booting.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/booting.rst
+:Original: Documentation/arch/loongarch/booting.rst
:翻译:
similarity index 61%
rename from Documentation/translations/zh_CN/loongarch/features.rst
rename to Documentation/translations/zh_CN/arch/loongarch/features.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/features.rst
+:Original: Documentation/arch/loongarch/features.rst
:Translator: Huacai Chen <chenhuacai@loongson.cn>
.. kernel-feat:: $srctree/Documentation/features loongarch
similarity index 78%
rename from Documentation/translations/zh_CN/loongarch/index.rst
rename to Documentation/translations/zh_CN/arch/loongarch/index.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/index.rst
+:Original: Documentation/arch/loongarch/index.rst
:Translator: Huacai Chen <chenhuacai@loongson.cn>
=================
similarity index 99%
rename from Documentation/translations/zh_CN/loongarch/introduction.rst
rename to Documentation/translations/zh_CN/arch/loongarch/introduction.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/introduction.rst
+:Original: Documentation/arch/loongarch/introduction.rst
:Translator: Huacai Chen <chenhuacai@loongson.cn>
=============
similarity index 98%
rename from Documentation/translations/zh_CN/loongarch/irq-chip-model.rst
rename to Documentation/translations/zh_CN/arch/loongarch/irq-chip-model.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-.. include:: ../disclaimer-zh_CN.rst
+.. include:: ../../disclaimer-zh_CN.rst
-:Original: Documentation/loongarch/irq-chip-model.rst
+:Original: Documentation/arch/loongarch/irq-chip-model.rst
:Translator: Huacai Chen <chenhuacai@loongson.cn>
==================================