Messages in this thread Patch in this message |  | | From | Mauro Carvalho Chehab <> | | Subject | [PATCH 1/9] docs: maintainers_include: keep hidden TOC sorted | | Date | Mon, 4 May 2026 17:51:10 +0200 |
| |
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 <mchehab+huawei@kernel.org> --- Documentation/sphinx/maintainers_include.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sphinx/maintainers_include.py index 1b9ece431386..c7f9911ae45b 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" -- 2.54.0
|  |