[PATCH] Documentation: front page: use recommended heading adornments

From: Randy Dunlap
Date: Tue Feb 14 2023 - 19:57:33 EST


Convert the Documentation front page to use the heading adornments
that are documented in doc-guide/sphinx.rst for document title and
chapters. I.e., convert most section headings to chapters.

This leaves "Indices and tables" as a chapter entry at the same level
as the other chapters.

The only visual difference from before to after is that the "Indices
and tables" heading is smaller and has more vertical whitespace
preceding it (although that may depend on the web browser being used).

Fixes: 0c7b4366f1ab ("docs: Rewrite the front page")
Fixes: bffac837f3a3 ("docs-rst: convert sh book to ReST")
Fixes: 8e2a46a40fa7 ("docs: move remaining stuff under Documentation/*.txt to Documentation/staging")
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: linux-doc@xxxxxxxxxxxxxxx
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
---
Documentation/index.rst | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff -- a/Documentation/index.rst b/Documentation/index.rst
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -2,6 +2,7 @@

.. _linux_doc:

+==============================
The Linux Kernel documentation
==============================

@@ -13,7 +14,7 @@ documentation are welcome; join the linu
you want to help out.

Working with the development community
---------------------------------------
+======================================

The essential guides for interacting with the kernel's development
community and getting your work upstream.
@@ -29,7 +30,7 @@ community and getting your work upstream


Internal API manuals
---------------------
+====================

Manuals for use by developers working to interface with the rest of the
kernel.
@@ -43,7 +44,7 @@ kernel.
Locking in the kernel <locking/index>

Development tools and processes
--------------------------------
+===============================

Various other manuals with useful information for all kernel developers.

@@ -62,7 +63,7 @@ Various other manuals with useful inform


User-oriented documentation
----------------------------
+===========================

The following manuals are written for *users* of the kernel — those who are
trying to get it to work optimally on a given system and application
@@ -81,7 +82,7 @@ See also: the `Linux man pages <https://
which are kept separately from the kernel's own documentation.

Firmware-related documentation
-------------------------------
+==============================
The following holds information on the kernel's expectations regarding the
platform firmwares.

@@ -93,7 +94,7 @@ platform firmwares.


Architecture-specific documentation
------------------------------------
+===================================

.. toctree::
:maxdepth: 2
@@ -102,7 +103,7 @@ Architecture-specific documentation


Other documentation
--------------------
+===================

There are several unsorted documents that don't seem to fit on other parts
of the documentation body, or may require some adjustments and/or conversion
@@ -115,7 +116,7 @@ to ReStructured Text format, or are simp


Translations
-------------
+============

.. toctree::
:maxdepth: 2