From nobody Tue Feb 10 17:08:45 2026 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (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 E185D218AD4; Thu, 23 Oct 2025 16:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761235852; cv=none; b=utZiIbmN+tgefBT7XJpsxv0g9/RnmekCfR+Dwgxtjq7B3+eny8yUQaoSfGLZMQiKeR+suTLyg5cXEluhS5VUh9Nvk+KjGLutT7NGvIew0tpvDVXjxxwrs4JA5+QNR0BfnzcwHnclHnPE18oseXCr31nW/iajt120v2OPl5yJKng= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761235852; c=relaxed/simple; bh=pmQLm6GEGlG7rBrfuxiItNE41J2dqW27S9NcsdSbcMk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FC43dQe/imefBmfywr89glGZdmi/+NJ6XMv8AM/0Cem2nWnPE3M89jZEpqyHJGJvGaEWEt8vuRcBXkJ5c1sbiaKH+gnvGxCUPw3IJ4IFsSeZzH4/kBvIBwDK5kmMbxszbhNjWPaeK6LlZ10KE9PZSUK5XDmEl0JP278hduze+D4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=Oot65kqp; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="Oot65kqp" DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net B46C340B37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1761235844; bh=7B+dnWNof1Zmrb1t2MzOBFBQHsy9rJcjISIjjcS4SK4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Oot65kqpph1+1J4i0Fe/S6cOstraUtnU6lXtGzDb1zhh7MkG/pFtmttbTYnFOXpdG 5or2ypERdelTtlO53XeEmsqS00bhBuTD5hlWOHCWJ0F4+YYHr7DVYtdKFXAxKPG40D tYg4slzgM2W66QaXHQ6uIIvrac7AhytDogwCyKuVWusIpH2Fc61DO9wnqR+kX1aObR iJvml97ioIt6yueU4/oATU+s0fVZfiWE+zEsnk3gTBRhXTIGQriOBBoL299wBBCTQx kHr7vRwTKrpJzVVFShKloZjvP+kHZKCbce++hnqtaS2DQYDOjP+q8PxlJ5Ln++nake e9c20DFIGQgDg== Received: from trenco.lwn.net (unknown [IPv6:2601:280:4600:2da9::1fe]) by ms.lwn.net (Postfix) with ESMTPA id B46C340B37; Thu, 23 Oct 2025 16:10:43 +0000 (UTC) From: Jonathan Corbet To: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Akira Yokosawa , Randy Dunlap , Jani Nikula , Jonathan Corbet Subject: [PATCH v2 01/10] docs: Move the "features" tools to tools/docs Date: Thu, 23 Oct 2025 10:10:09 -0600 Message-ID: <20251023161027.697135-2-corbet@lwn.net> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251023161027.697135-1-corbet@lwn.net> References: <20251023161027.697135-1-corbet@lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The scripts for managing the features docs are found in three different directories; unite them all under tools/docs and update references as needed. Signed-off-by: Jonathan Corbet --- Documentation/sphinx/kernel_feat.py | 4 ++-- .../features/scripts =3D> tools/docs}/features-refresh.sh | 0 {scripts =3D> tools/docs}/get_feat.pl | 2 +- {Documentation/features =3D> tools/docs}/list-arch.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename {Documentation/features/scripts =3D> tools/docs}/features-refresh.s= h (100%) rename {scripts =3D> tools/docs}/get_feat.pl (99%) rename {Documentation/features =3D> tools/docs}/list-arch.sh (83%) diff --git a/Documentation/sphinx/kernel_feat.py b/Documentation/sphinx/ker= nel_feat.py index e3a51867f27b..aa56fa8f32bd 100644 --- a/Documentation/sphinx/kernel_feat.py +++ b/Documentation/sphinx/kernel_feat.py @@ -13,7 +13,7 @@ :license: GPL Version 2, June 1991 see Linux/COPYING for details. =20 The ``kernel-feat`` (:py:class:`KernelFeat`) directive calls the - scripts/get_feat.pl script to parse the Kernel ABI files. + tools/docs/get_feat.pl script to parse the Kernel ABI files. =20 Overview of directive's argument and options. =20 @@ -83,7 +83,7 @@ class KernelFeat(Directive): srctree =3D os.path.abspath(os.environ["srctree"]) =20 args =3D [ - os.path.join(srctree, 'scripts/get_feat.pl'), + os.path.join(srctree, 'tools/docs/get_feat.pl'), 'rest', '--enable-fname', '--dir', diff --git a/Documentation/features/scripts/features-refresh.sh b/tools/doc= s/features-refresh.sh similarity index 100% rename from Documentation/features/scripts/features-refresh.sh rename to tools/docs/features-refresh.sh diff --git a/scripts/get_feat.pl b/tools/docs/get_feat.pl similarity index 99% rename from scripts/get_feat.pl rename to tools/docs/get_feat.pl index 40fb28c8424e..d75e7c85dc85 100755 --- a/scripts/get_feat.pl +++ b/tools/docs/get_feat.pl @@ -18,7 +18,7 @@ my $enable_fname; my $basename =3D abs_path($0); $basename =3D~ s,/[^/]+$,/,; =20 -my $prefix=3D$basename . "../Documentation/features"; +my $prefix=3D$basename . "../../Documentation/features"; =20 # Used only at for full features output. The script will auto-adjust # such values for the minimal possible values diff --git a/Documentation/features/list-arch.sh b/tools/docs/list-arch.sh similarity index 83% rename from Documentation/features/list-arch.sh rename to tools/docs/list-arch.sh index ac8ff7f6f859..96fe83b7058b 100755 --- a/Documentation/features/list-arch.sh +++ b/tools/docs/list-arch.sh @@ -8,4 +8,4 @@ =20 ARCH=3D${1:-$(uname -m | sed 's/x86_64/x86/' | sed 's/i386/x86/' | sed 's/= s390x/s390/')} =20 -$(dirname $0)/../../scripts/get_feat.pl list --arch $ARCH +$(dirname $0)/get_feat.pl list --arch $ARCH --=20 2.51.0