From: Mauro Carvalho Chehab Date: Sat, 9 May 2026 06:56:34 +0000 (+0200) Subject: docs: maintainers_include: keep hidden TOC sorted X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3859c1a7967be31b63b9c0f51ad1d23f54f0b280;p=thirdparty%2Fkernel%2Flinux.git docs: maintainers_include: keep hidden TOC sorted There's no practical difference on keeping it sorted, but it helps a lot when checking for differences after patches to the tool. Signed-off-by: Mauro Carvalho Chehab Message-ID: Signed-off-by: Jonathan Corbet Message-ID: <2742993764f2193101536a1cea40e034d75e0539.1778309595.git.mchehab+huawei@kernel.org> --- diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sphinx/maintainers_include.py index 436e7ac42ffc0..694cdbdc4caf9 100755 --- a/Documentation/sphinx/maintainers_include.py +++ b/Documentation/sphinx/maintainers_include.py @@ -265,7 +265,7 @@ class MaintainersProfile(Include): output += "\n.. toctree::\n" output += " :hidden:\n\n" - for fname in maint_parser.profile_toc: + for fname in sorted(maint_parser.profile_toc): output += f" {fname}\n" output += "\n"