[PATCH] Documentation: add missing page title for kernel-doc.rst and sphinx.rst

From: Bagas Sanjaya
Date: Tue Mar 15 2022 - 03:55:45 EST


sphinx.rst and kernel-doc.rst are missing page title, thus top-level
headings in the respective documentation is displayed in the table of
contents for doc-guide.

Add the title.

Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>
---
Documentation/doc-guide/kernel-doc.rst | 4 ++++
Documentation/doc-guide/sphinx.rst | 4 ++++
2 files changed, 8 insertions(+)

diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel-doc.rst
index 79aaa55d6bc..de47b20c806 100644
--- a/Documentation/doc-guide/kernel-doc.rst
+++ b/Documentation/doc-guide/kernel-doc.rst
@@ -1,3 +1,7 @@
+==========================
+kernel-doc Comments Format
+==========================
+
Writing kernel-doc comments
===========================

diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation/doc-guide/sphinx.rst
index bb36f18ae9a..140507de5a8 100644
--- a/Documentation/doc-guide/sphinx.rst
+++ b/Documentation/doc-guide/sphinx.rst
@@ -1,5 +1,9 @@
.. _sphinxdoc:

+=============
+Sphinx Primer
+=============
+
Introduction
============


base-commit: 09688c0166e76ce2fb85e86b9d99be8b0084cdf9
--
An old man doll... just what I always wanted! - Clara