* [RFC PATCH] docs: Group arch-specific documentation under "CPU Architectures"
@ 2021-03-12 15:28 Jonathan Neuschäfer
2021-03-15 19:52 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Neuschäfer @ 2021-03-12 15:28 UTC (permalink / raw)
To: linux-doc
Cc: linux-arch, Jonathan Neuschäfer, Jonathan Corbet,
Paul Walmsley, Palmer Dabbelt, Albert Ou, linux-kernel,
linux-riscv
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>
---
As a side effect, the TOC in index.html effectively gets one level of
detail less. This could be fixed by specifying ':maxdepth: 3'.
---
Documentation/arch.rst | 26 ++++++++++++++++++++++++++
Documentation/index.rst | 20 ++------------------
2 files changed, 28 insertions(+), 18 deletions(-)
create mode 100644 Documentation/arch.rst
diff --git a/Documentation/arch.rst b/Documentation/arch.rst
new file mode 100644
index 0000000000000..f10bd32a5972e
--- /dev/null
+++ b/Documentation/arch.rst
@@ -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
diff --git a/Documentation/index.rst b/Documentation/index.rst
index 31f2adc8542dc..54ce34fd6fbda 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -149,27 +149,11 @@ Architecture-agnostic documentation
Architecture-specific documentation
-----------------------------------
-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
+ arch
+
Other documentation
-------------------
--
2.30.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCH] docs: Group arch-specific documentation under "CPU Architectures"
2021-03-12 15:28 [RFC PATCH] docs: Group arch-specific documentation under "CPU Architectures" Jonathan Neuschäfer
@ 2021-03-15 19:52 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2021-03-15 19:52 UTC (permalink / raw)
To: Jonathan Neuschäfer, linux-doc
Cc: linux-arch, Jonathan Neuschäfer, Paul Walmsley,
Palmer Dabbelt, Albert Ou, linux-kernel, linux-riscv
Jonathan Neuschäfer <j.neuschaefer@gmx.net> writes:
> 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>
> ---
>
> As a side effect, the TOC in index.html effectively gets one level of
> detail less. This could be fixed by specifying ':maxdepth: 3'.
> ---
> Documentation/arch.rst | 26 ++++++++++++++++++++++++++
> Documentation/index.rst | 20 ++------------------
> 2 files changed, 28 insertions(+), 18 deletions(-)
> create mode 100644 Documentation/arch.rst
I've badly wanted to clean up that page for a long time; this is a step
in that direction, so I'm happy to see it. Applied, thanks.
And no, we need *less* detail on the front page, not more, so no need to
bring all that back.
Thanks,
jon
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-15 19:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 15:28 [RFC PATCH] docs: Group arch-specific documentation under "CPU Architectures" Jonathan Neuschäfer
2021-03-15 19:52 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).