mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01: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 <[email protected]> Tested-by: Randy Dunlap <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Message-ID: <387b42c523e7b9f33e61cdff6fadb1df265cf71d.1777295258.git.mchehab+huawei@kernel.org>
This commit is contained in:
1 parent
66a40162db
commit
bda185c305
2 files changed
+1
-3
No files matched your search
@@ -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