mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02: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:
parent
66a40162db
commit
bda185c305
|
|
@ -16,6 +16,4 @@ For maintainers, consider documenting additional requirements and
|
||||||
expectations if submissions routinely overlook specific submission
|
expectations if submissions routinely overlook specific submission
|
||||||
criteria. See Documentation/maintainer/maintainer-entry-profile.rst.
|
criteria. See Documentation/maintainer/maintainer-entry-profile.rst.
|
||||||
|
|
||||||
Contents:
|
|
||||||
|
|
||||||
.. maintainers-profile-toc::
|
.. maintainers-profile-toc::
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ class MaintainersProfile(Include):
|
||||||
maint = MaintainersParser(base_path, path)
|
maint = MaintainersParser(base_path, path)
|
||||||
|
|
||||||
output = ".. toctree::\n"
|
output = ".. toctree::\n"
|
||||||
output += " :maxdepth: 2\n\n"
|
output += " :maxdepth: 1\n\n"
|
||||||
|
|
||||||
items = sorted(maint.profiles.items(),
|
items = sorted(maint.profiles.items(),
|
||||||
key=lambda kv: (kv[1] or "", kv[0]))
|
key=lambda kv: (kv[1] or "", kv[0]))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user