Re: [PATCH v2] docs: Makefile: Sort Documentation targets case-insensitively in make help
From: Jonathan Corbet
Date: Wed Nov 05 2025 - 13:26:49 EST
Bhanu Seshu Kumar Valluri <bhanuseshukumar@xxxxxxxxx> writes:
> Avoid case-sensitive sorting when listing Documentation targets in make help.
> Previously, targets like PCI and RCU appeared ahead of others due to uppercase
> names.
>
> Normalize casing during _SPHINXDIRS generation to ensure consistent and
> intuitive ordering.
>
> Fixes: 965fc39f7393 ("Documentation: sort _SPHINXDIRS for 'make help'")
> Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Signed-off-by: Bhanu Seshu Kumar Valluri <bhanuseshukumar@xxxxxxxxx>
> ---
> V1-V2 changes
> - Rebased on to commit 27600b51fbc8 ("MAINTAINERS: extend DOCUMENTATION SCRIPTS to the full directories")
> in docs-next.
> - Link to V1: https://lore.kernel.org/lkml/20251015012922.19467-1-bhanuseshukumar@xxxxxxxxx/
Applied, thanks.
jon