OSDN Git Service

Documentation: front page: use recommended heading adornments
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 15 Feb 2023 00:57:26 +0000 (16:57 -0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 23 Feb 2023 19:44:51 +0000 (12:44 -0700)
commitb8885e2615f4d623334855e7fad20e49b0e0f96d
tree2dee41a530a1f52e238e9cbc554fb0ed630a3bb8
parent1481df6cbd0d606fa1a26b752e2e1aba0b650093
Documentation: front page: use recommended heading adornments

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")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/20230215005726.27320-1-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/index.rst