]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: maintainers_include: Only show main entry for profiles
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 27 Apr 2026 14:22:25 +0000 (16:22 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 3 May 2026 15:24:30 +0000 (09:24 -0600)
Instead of showing as a "Contents:" with 2 identation levels,
drop its title and show profiles as a list of entries.

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <387b42c523e7b9f33e61cdff6fadb1df265cf71d.1777295258.git.mchehab+huawei@kernel.org>

Documentation/process/maintainer-handbooks.rst
Documentation/sphinx/maintainers_include.py

index 531985a0fae81058d0fda902ea5bfef439b01a48..3821e78aefc0abd00db4e37b394f240d4710ea55 100644 (file)
@@ -16,6 +16,4 @@ For maintainers, consider documenting additional requirements and
 expectations if submissions routinely overlook specific submission
 criteria. See Documentation/maintainer/maintainer-entry-profile.rst.
 
-Contents:
-
 .. maintainers-profile-toc::
index 948746b998a358e781a7862ee61a0e6aa04e1f12..7ab92182061277c8fd88980d1e19048c87c060ba 100755 (executable)
@@ -235,7 +235,7 @@ class MaintainersProfile(Include):
         maint = MaintainersParser(base_path, path)
 
         output  = ".. toctree::\n"
-        output += "   :maxdepth: 2\n\n"
+        output += "   :maxdepth: 1\n\n"
 
         items = sorted(maint.profiles.items(),
                        key=lambda kv: (kv[1] or "", kv[0]))