From nobody Mon Jun 15 23:14:08 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B11E93B3C00; Tue, 14 Apr 2026 14:29:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776176959; cv=none; b=ZQ7zswp8M4SFXexUGNm79l1GsYp/ytCfzpnnK+GOcA7FR1LrqgHNP+H0F3KbX8YRYN6JE5SyZMJ+6nd2+cCGla+PQHgkQ1Xl2mPnjEndOss1yrBmXLbzc6AOCrYtEYn2+1xeatrXSKzapFBuIGnHMg3EGXj9cATNZKwU6birrsg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776176959; c=relaxed/simple; bh=JimhZhRJY96vdcz9LeR/EJHpqBN9VZ+PqSjKJTaNYlY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ofd/F6YUO23WICl9aVx1V4MkIJXXGr5W5/8t0sle0NdzmJt9a7Y/f7+SE6tHi70l8/IYF3rXDTdA94cjB/gyniYruVQkx1aYphbdpfBqNY4oOXWKfSLduSRRGRKP4B1R1rmWPEpDX31mGVPzmY6sGJmTVJxmBw7ldijP+M0FcNE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m7tKJbx1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m7tKJbx1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EEB9C2BCB7; Tue, 14 Apr 2026 14:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776176959; bh=JimhZhRJY96vdcz9LeR/EJHpqBN9VZ+PqSjKJTaNYlY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m7tKJbx1Pr2kj4vmriqUjgGjCYSqkR7/frq87vV74FFG4SBYc/AxzP3fmteopy0NO RmfkhrE+ErqtMeG2qyd3CcrOLb5hIfkJayEKWpjyq4L/NxuCLYpmuSkLuI2ngRoBuK YWNBpvkbDJoga6mc3hCXlHKm7z4mSlgHX9vCJ1BMMHBAWg7G1UraJrY8+BIsETj9NY nKTWD5327yaN+swymUrFW5zhahdXzpApMLEuDsnXQKE6paZEDjb96gnam9PJPWvWFt tqcXTh40Uz34Ro1/xHDBtdwbyV967MrMcmzUHVM0qUCwikdYvaFjLvOU4vwM83MDkP 1ghsZslQEt7pA== Received: from mchehab by mail.kernel.org with local (Exim 4.99.1) (envelope-from ) id 1wCelR-00000007oMd-2Q0p; Tue, 14 Apr 2026 16:29:17 +0200 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List , Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, workflows@vger.kernel.org, Dan Williams , Randy Dunlap , Shuah Khan Subject: [PATCH RFC 1/4] docs: maintainers_include: auto-generate maintainer profile TOC Date: Tue, 14 Apr 2026 16:29:04 +0200 Message-ID: <4e9512a3d05942c98361d06d60a118d7c78762b6.1776176108.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: Mauro Carvalho Chehab Add a feature to allow auto-generating media entry profiles from the corresponding field inside MAINTAINERS file(s). Suggested-by: Dan Williams Closes: https://lore.kernel.org/linux-doc/69dd6299440be_147c801005b@djbw-de= v.notmuch/ Signed-off-by: Mauro Carvalho Chehab Acked-by: Dan Williams --- Documentation/sphinx/maintainers_include.py | 93 +++++++++++++++++---- 1 file changed, 76 insertions(+), 17 deletions(-) diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sp= hinx/maintainers_include.py index 519ad18685b2..1dac83bf1a65 100755 --- a/Documentation/sphinx/maintainers_include.py +++ b/Documentation/sphinx/maintainers_include.py @@ -21,6 +21,8 @@ import sys import re import os.path =20 +from textwrap import indent + from docutils import statemachine from docutils.parsers.rst import Directive from docutils.parsers.rst.directives.misc import Include @@ -30,20 +32,11 @@ def ErrorString(exc): # Shamelessly stolen from docuti= ls =20 __version__ =3D '1.0' =20 -def setup(app): - app.add_directive("maintainers-include", MaintainersInclude) - return dict( - version =3D __version__, - parallel_read_safe =3D True, - parallel_write_safe =3D True - ) +class MaintainersParser: + """Parse MAINTAINERS file(s) content""" =20 -class MaintainersInclude(Include): - """MaintainersInclude (``maintainers-include``) directive""" - required_arguments =3D 0 - - def parse_maintainers(self, path): - """Parse all the MAINTAINERS lines into ReST for human-readability= """ + def __init__(self, base_path, path): + self.profiles =3D list() =20 result =3D list() result.append(".. _maintainers:") @@ -78,6 +71,12 @@ class MaintainersInclude(Include): # Drop needless input whitespace. line =3D line.rstrip() =20 + match =3D re.match(r"P:\s*(Documentation/\S+)\.rst", line) + if match: + fname =3D os.path.relpath(match.group(1), base_path) + if fname not in self.profiles: + self.profiles.append(fname) + # Linkify all non-wildcard refs to ReST files in Documentation= /. pat =3D r'(Documentation/([^\s\?\*]*)\.rst)' m =3D re.search(pat, line) @@ -165,12 +164,23 @@ class MaintainersInclude(Include): for separated in field_content.split('\n'): result.append(separated) =20 - output =3D "\n".join(result) + self.output =3D "\n".join(result) + + # Create a TOC class + +class MaintainersInclude(Include): + """MaintainersInclude (``maintainers-include``) directive""" + required_arguments =3D 0 + + def emit(self, base_path, path): + """Parse all the MAINTAINERS lines into ReST for human-readability= """ + + output =3D MaintainersParser(base_path, path).output + # For debugging the pre-rendered results... #print(output, file=3Dopen("/tmp/MAINTAINERS.rst", "w")) =20 - self.state_machine.insert_input( - statemachine.string2lines(output), path) + self.state_machine.insert_input(statemachine.string2lines(output),= path) =20 def run(self): """Include the MAINTAINERS file as part of this reST file.""" @@ -186,12 +196,61 @@ class MaintainersInclude(Include): =20 # Append "MAINTAINERS" path =3D os.path.join(path, "MAINTAINERS") + base_path =3D os.path.dirname(self.state.document.document.current= _source) =20 try: self.state.document.settings.record_dependencies.add(path) - lines =3D self.parse_maintainers(path) + lines =3D self.emit(base_path, path) except IOError as error: raise self.severe('Problems with "%s" directive path:\n%s.' % (self.name, ErrorString(error))) =20 return [] + +class MaintainersProfile(Include): + required_arguments =3D 0 + + def emit(self, base_path, path): + """Parse all the MAINTAINERS lines looking for profile entries""" + + profiles =3D MaintainersParser(base_path, path).profiles + + output =3D ".. toctree::\n" + output +=3D " :maxdepth: 2\n\n" + output +=3D indent("\n".join(profiles), " ") + + self.state_machine.insert_input(statemachine.string2lines(output),= path) + + def run(self): + """Include the MAINTAINERS file as part of this reST file.""" + if not self.state.document.settings.file_insertion_enabled: + raise self.warning('"%s" directive disabled.' % self.name) + + # Walk up source path directories to find Documentation/../ + path =3D self.state_machine.document.attributes['source'] + path =3D os.path.realpath(path) + tail =3D path + while tail !=3D "Documentation" and tail !=3D "": + (path, tail) =3D os.path.split(path) + + # Append "MAINTAINERS" + path =3D os.path.join(path, "MAINTAINERS") + base_path =3D os.path.dirname(self.state.document.document.current= _source) + + try: + self.state.document.settings.record_dependencies.add(path) + lines =3D self.emit(base_path, path) + except IOError as error: + raise self.severe('Problems with "%s" directive path:\n%s.' % + (self.name, ErrorString(error))) + + return [] + +def setup(app): + app.add_directive("maintainers-include", MaintainersInclude) + app.add_directive("maintainers-profile-toc", MaintainersProfile) + return dict( + version =3D __version__, + parallel_read_safe =3D True, + parallel_write_safe =3D True + ) --=20 2.52.0 From nobody Mon Jun 15 23:14:08 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA4A23E866C; Tue, 14 Apr 2026 14:29:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776176959; cv=none; b=ad05XJ7Em4lgfjXJKvC6NrMlWAvKWdMq1jkncPzg42c4VDMEZn2V28uy4+zfLkJLYj9DDC8UZlYylGgPJ9Q4E8ovGaE8tPhSsoJDfabcmZmNd5ICX0QeKmLDUK3EcEO3ZD/ATZOzIG+r9Fv9wsnxXE5zxT70UwLSXc/UWeRM/RE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776176959; c=relaxed/simple; bh=gth3jfowrfngu7tkNsJyoJ95YLlIYI/ANJFuh2PjIdU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QZOHRCIRUWYNqDraylQ+ge4aFFCW03nHzTRgvcSurhGGB4ox2OOVSv18ZoamQ9z7lWYv5AmJ7nZeaIxCXywOzCbcRsx/h8CE5DWdnsQGy2UvkHVSRfdjyTg+fzwIU+si7hC0RcQbspTzxH3srxVAnp5WgJU9lYQb6rSOj1SlXSU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sa1DWQPK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sa1DWQPK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9646AC2BCB9; Tue, 14 Apr 2026 14:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776176959; bh=gth3jfowrfngu7tkNsJyoJ95YLlIYI/ANJFuh2PjIdU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sa1DWQPKuEWeNrj1vBKpP+iAOSKkQHbfr1h/7FQryBkfBcFN/aIo3MarguP1t/S7m QjpyIeRl5PMd4DoNkdC619wj20+bdmpKw+/EviFDb43gu2QYYJ0fM0dkQ7E3kIQKkg OLnHF1YKSlf3AaztRb9PkeU0x9VYQZ33rLGomlH8EkfLTEVZeMgKas71NO39ZpFYXn j3yKFnz6kBBjtq81MesInPO0Qz1wSQW1nUl896OsulqqFlzmUJ8/esXkgg0lpxmzWX c7kbIAkKzOpM3XHXWrqbuaycnsdaAduT0GCuUXOI2E8BhMhVyu5wS40RwGFQtUQCb0 Mqzs5PpqTBbkQ== Received: from mchehab by mail.kernel.org with local (Exim 4.99.1) (envelope-from ) id 1wCelR-00000007oNq-3GKA; Tue, 14 Apr 2026 16:29:17 +0200 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, workflows@vger.kernel.org, Dan Williams , Randy Dunlap Subject: [PATCH RFC 2/4] MAINTAINERS: add an entry for media maintainers profile Date: Tue, 14 Apr 2026 16:29:05 +0200 Message-ID: <5af4aa6a716228eea4d59dc26b97d642e1e7d419.1776176108.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: Mauro Carvalho Chehab While media has a maintainers entry profile, its entry is missing at MAINTAINERS. Signed-off-by: Mauro Carvalho Chehab Acked-by: Randy Dunlap Suggested-by: Dan Williams --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f0b106a4dd96..620219e48f98 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -16115,6 +16115,7 @@ S: Maintained W: https://linuxtv.org Q: http://patchwork.kernel.org/project/linux-media/list/ T: git git://linuxtv.org/media.git +P: Documentation/driver-api/media/maintainer-entry-profile.rst F: Documentation/admin-guide/media/ F: Documentation/devicetree/bindings/media/ F: Documentation/driver-api/media/ --=20 2.52.0 From nobody Mon Jun 15 23:14:08 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F283A3E8C62; Tue, 14 Apr 2026 14:29:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776176960; cv=none; b=LY1q+6n/zjo2pXewBdoax9/Upc+wop5Mv0n+VXFROfqss1HqEMnPeken+9/YyRcBz9TKES3KxkxdpXkuM4rdd7s98NeX/0N3lZ86E5jqm77/AISUmA6QVqGpod6zUaCVaXaB6YpVhSNbQAx6bNqdFbGY6KScFZGRpJ4xT/HkZXc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776176960; c=relaxed/simple; bh=CQbeQ8MaYMOm5iHoZvEQ/hMjNQ3Gji9XdVM+EDT+8Dw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HS0f1GMElfqvtS+nRjtu0k5qTE9+cjmnFbPcPBOnxna37JV3gtkuU9i3zUnxfTSogLQVlTkAmHGRx5npcORk0U3v53ehBKXQ+1XJh0giXuyuWKw/4xxQdYq4qKlASDXEXbTo064q4hq2vt0e4HhAq80qRyZ8BAzp3aB6Jk3lN8k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OV8wuFXI; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OV8wuFXI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFBD4C19425; Tue, 14 Apr 2026 14:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776176959; bh=CQbeQ8MaYMOm5iHoZvEQ/hMjNQ3Gji9XdVM+EDT+8Dw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OV8wuFXIDoAUX1rTDJ5kBHIhztHvdbBaaKuuVMRaLzaXaCH+VosQa6g9r+ggREXMA n1d4eR+hlMXQyTyv93wDtk9S28wyfxb0X8+po4ZAP9PVk2OWN9eH0V9Am79RZBsxbi nf6/h0lmTKyfraRTNBOjCWpaBvxJvfAq0Q3dOcmjq/Y00FM/yg6tRGd/uKAmYqglCU BGYdvbycu3fZ9LlMl+AvQnEjftJdY1hC8QkNz51K+6vxfc3FilGgTintdNawNiS13m Ruxa4cV2jTLztVfd37E9FJGk5uvE9kov0bdoII+Ucf2zB9tI1i4Y+jVcOVlOQFsA+e yPsejlIvgMQKw== Received: from mchehab by mail.kernel.org with local (Exim 4.99.1) (envelope-from ) id 1wCelR-00000007oP3-47RN; Tue, 14 Apr 2026 16:29:17 +0200 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, workflows@vger.kernel.org, Dan Williams , Randy Dunlap Subject: [PATCH RFC 3/4] MAINTAINERS: add maintainer-tip.rst to X86 Date: Tue, 14 Apr 2026 16:29:06 +0200 Message-ID: <970434c647aa1e1e9a81c87b4d5fed934d4018a7.1776176108.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: Mauro Carvalho Chehab While the maintainer's profile for tip is there, it is not at X86 maintainer's entry. Signed-off-by: Mauro Carvalho Chehab Acked-by: Dan Williams Acked-by: Randy Dunlap Suggested-by: Dan Williams --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 620219e48f98..a85fcae5f56e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -28560,6 +28560,7 @@ M: Ingo Molnar M: Borislav Petkov M: Dave Hansen M: x86@kernel.org +P: Documentation/process/maintainer-tip.rst R: "H. Peter Anvin" L: linux-kernel@vger.kernel.org S: Maintained --=20 2.52.0 From nobody Mon Jun 15 23:14:08 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FA7F3E8C69; Tue, 14 Apr 2026 14:29:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776176960; cv=none; b=c/A03rU+dZ315l2cbnGJdoManBv2ELm1yXUzVysE4o4yWGze2Gv7Ft6oCPp6QLbnWeoCM/uCgbOi7pKqE1rW7qY48c4GPtRDxBZq4hlucgrra/rAiUCFdUMVcGq9s6+9Y9GdPikQhoKX49Bgn4wxU5qnSfj8MPfOi+fjKEJVitU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776176960; c=relaxed/simple; bh=Z8dBubfNQTKwauxpT0B6VmQJ1X/r3l3qLS1pZ26urKE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=D68PJjAUypekoVt7y1Th5S3SaN7dD1iYFQssP7WhvaAQ6hTjX16rKwjuOVOWrj6vbEp6oFkR0cPXhdGAFPgrZ5u/Lbg0UIj7CHJiw0YcpO22NvNfp4DtkldsppL9wxjdCiH3GhchrGUQxOldhjBusa3K3g0xIwHPilheDbh/y0I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KUKTBJHK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KUKTBJHK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD4F5C2BCF6; Tue, 14 Apr 2026 14:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776176959; bh=Z8dBubfNQTKwauxpT0B6VmQJ1X/r3l3qLS1pZ26urKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KUKTBJHKkWW28+VWVgifj6x2B5B6vGxTjXLsTW/Kj56TWARFKsThWcBxF77C8KC1M KyawJvB3faPLRYXbeaZC1747CBRk59rhhw2qsrHLD4rks028s89k2AYBUkCTZ3gjzN hxudgGXsgjVLtmboXSHY8e4kn27bW5RKvUK2nO4QsZPP3swfV1fxcdHAceKrsgrvl9 NdjCM1A0eNiq6hVGsGjsoAadnSuGFAgBnJO8HTwlteMm/krqtScHgj+XrlY66nw9ip GhIG5a5mXOaNY4Jowa1ss3YHJwogrB4UTYsJMdb3GFUimRD6B0Tzesfisdu7We7TEj FSZeHjqINHZtg== Received: from mchehab by mail.kernel.org with local (Exim 4.99.1) (envelope-from ) id 1wCelS-00000007oQG-0mGQ; Tue, 14 Apr 2026 16:29:18 +0200 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, workflows@vger.kernel.org, Albert Ou , Alexandre Ghiti , Dan Williams , Palmer Dabbelt , Paul Walmsley , Randy Dunlap , Shuah Khan Subject: [PATCH RFC 4/4] docs: auto-generate maintainer entry profile links Date: Tue, 14 Apr 2026 16:29:07 +0200 Message-ID: <9228f77b0339b8e5dea4a201ab6d4feb30cef5c2.1776176108.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: Mauro Carvalho Chehab Instead of manually creating a TOC tree for them, use the new tag to auto-generate its TOC. Signed-off-by: Mauro Carvalho Chehab Suggested-by: Dan Williams --- .../maintainer/maintainer-entry-profile.rst | 17 ++--------------- Documentation/process/maintainer-handbooks.rst | 10 +--------- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/Documentation/maintainer/maintainer-entry-profile.rst b/Docume= ntation/maintainer/maintainer-entry-profile.rst index 6020d188e13d..48ecabd4ce13 100644 --- a/Documentation/maintainer/maintainer-entry-profile.rst +++ b/Documentation/maintainer/maintainer-entry-profile.rst @@ -98,18 +98,5 @@ Existing profiles For now, existing maintainer profiles are listed here; we will likely want to do something different in the near future. =20 -.. toctree:: - :maxdepth: 1 - - ../doc-guide/maintainer-profile - ../nvdimm/maintainer-entry-profile - ../arch/riscv/patch-acceptance - ../process/maintainer-soc - ../process/maintainer-soc-clean-dts - ../driver-api/media/maintainer-entry-profile - ../process/maintainer-netdev - ../driver-api/vfio-pci-device-specific-driver-acceptance - ../nvme/feature-and-quirk-policy - ../filesystems/nfs/nfsd-maintainer-entry-profile - ../filesystems/xfs/xfs-maintainer-entry-profile - ../mm/damon/maintainer-profile +See Documentation/process/maintainer-handbooks.rst for subsystem-specific +profiles. diff --git a/Documentation/process/maintainer-handbooks.rst b/Documentation= /process/maintainer-handbooks.rst index 3d72ad25fc6a..d3d74c719018 100644 --- a/Documentation/process/maintainer-handbooks.rst +++ b/Documentation/process/maintainer-handbooks.rst @@ -9,12 +9,4 @@ which is supplementary to the general development process = handbook =20 Contents: =20 -.. toctree:: - :numbered: - :maxdepth: 2 - - maintainer-netdev - maintainer-soc - maintainer-soc-clean-dts - maintainer-tip - maintainer-kvm-x86 +.. maintainers-profile-toc:: --=20 2.52.0