mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 22:19:59 -04:00
docs: maintainers_include: Only show main entry for profiles
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>
This commit is contained in:
committed by
Jonathan Corbet
parent
66a40162db
commit
bda185c305
@@ -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::
|
||||
|
||||
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user