From nobody Mon Feb 9 18:43:22 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 CDC3A3002CE; Tue, 28 Oct 2025 22:10:25 +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=1761689427; cv=none; b=f74+U1x8UmpCn0gq7nOlU0MbK+dA0CwOgteJwdW648X1ww396XRw1rZQit6o+omC8mIVKSDLwP7lblK9AfZaMe1B5b47MpWWiKFR04z3tB8nykuIQNIC8tEEYHdQO17+CjfiOkBaSenhjbJLm4blES+NwhX7xrM57c21NFOc//k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761689427; c=relaxed/simple; bh=kawGsCfUvXr+7vSeBdeE2yqE2s7nhjHnLojMxqecUbw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JK4UzYIVJJSpjz6WplUX2qlxhm5shz7R3PQFIkFDnyuJUY/2gax2Y3sbNUF2GzPs0HTK1Xf8yiHb2xL5r58QVknzy1w6kuBC587vLYqth+my/rBusZmqCxWfMgjhnkJBVcMQX62XHVR1O5q6FX9+rCD/293Rlgkaz4UvmPI3t04= 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=UWZFgGM0; 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="UWZFgGM0" DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net A5D8440B38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1761689425; bh=GgmtuNmfwXa+txVVMIvIpG2HLe8hEqtvp0iZpan2vnM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UWZFgGM034QfexiT++iLJIxr+7MviBGF/gbsaYmkm028d4FQquKA95U9lpVhBTDi9 Ez8G4bljzSljjHc8glFF9HvmbWMcio6aM4IsGgskm9y4dYEPOGqsuetELf1lJ1KnzW 65VJaUFl3oJkcuLL3QSyU2EnO82RXhUST8LX0Yj9BWCDP9+5rua70BC60edmQE0IwM +4NDpcuUpKLmoXCEm08zSces5/mxUVIT+8Wkeophb6CphET2IV4OY2bcxoiefPayZn muaqytZ6b91/I9A0mA24iJuY04VAojTbmcq83boDA0arGh83ylHnhdu1EVbbRhctHX p5nyQJ3/iMUNg== Received: from trenco.lwn.net (unknown [IPv6:2601:280:4600:2da9::1fe]) by ms.lwn.net (Postfix) with ESMTPA id A5D8440B38; Tue, 28 Oct 2025 22:10:24 +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 , Jani Nikula Subject: [PATCH v4 1/7] docs: Move the "features" tools to tools/docs Date: Tue, 28 Oct 2025 16:10:09 -0600 Message-ID: <20251028221017.5785-2-corbet@lwn.net> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251028221017.5785-1-corbet@lwn.net> References: <20251028221017.5785-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. Reviewed-by: Mauro Carvalho Chehab Acked-by: Jani Nikula 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 aaac76892ceb..81c67ef23d8d 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 @@ -85,7 +85,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