From nobody Thu Apr 9 23:26:09 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 6C7CD3C3BF8; Thu, 5 Mar 2026 15:16:28 +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=1772723788; cv=none; b=kpvd6e1LjF5tQa9XjqbtDfJ7gvUa5JJbsPKK8wgEo1cXALlE0x8XJppSIlKmmYnAxEp4if0pnKFG8X04tAv79/O0BwH3xjYdaYtYUZIvQMGMuZxPVJYjySAaFBF9U6lIiejScFyfNrfU/2f1wXBKnSAufpHt3IB5vyCTmDfkVH8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772723788; c=relaxed/simple; bh=KClTBbHYRg20aly7xZCzAagKb8bY1y4ys0T0TfWzZRI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=etaED5iWs7X9/OMYkZgWkwrLWltzlXOfhEipRgPSg6EG4IhQFEt3xDpvWw0FqznwAggxaZlhEtUk6i6sg49VkX/mWulxfNO3lm2KU5mHa2aJyW+vvdFlTD0hAEN4Zhk4jI+fYE4UEaisfuh+juX8rbgwAMaCKpTCmkPrzZEriE4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MJSR0DRX; 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="MJSR0DRX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CA13C116C6; Thu, 5 Mar 2026 15:16:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772723788; bh=KClTBbHYRg20aly7xZCzAagKb8bY1y4ys0T0TfWzZRI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MJSR0DRXLMAyOgBPV38+nGrAMC7yOVUZbNgSFaXGVE2qR8lgRYtREQcXmjFk7TkoC vhDMSy7uHi30wzrR+hb2kOKObHEetLi15NyBUr3BywQLKERREcdMUEHNqimRt9Iv4m lsUNUGoQXaydQnAcDU2xz9q5tqnruPKMsC9EiJJO94yrTDT5j953oVdeAGceUDdNYk /eRfUYxPpmAjzn2/L/Eo7NEsg4LFUywzBvgwA7THI5U97iAvAKnIU7EdjkTEVS0dt/ UJGQ5FgvQTIONe4tvznS+MliJgtKE7aVkrNWYGejicKjhxWfSxl417SgzUy//d9pLt mNJ38NmCGO9MA== Received: from mchehab by mail.kernel.org with local (Exim 4.99.1) (envelope-from ) id 1vyAR8-0000000HKAX-1f1G; Thu, 05 Mar 2026 16:16:26 +0100 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH 07/11] docs: kdoc_output: use a single manual for everything Date: Thu, 5 Mar 2026 16:16:14 +0100 Message-ID: <26371b244a4a7aeab9a1e94af87b2e17eb50ff43.1772722474.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 There's no reason why functions will be on a different manual. Unify its name, calling it as "Kernel API Manual". Signed-off-by: Mauro Carvalho Chehab --- tools/lib/python/kdoc/kdoc_output.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tools/lib/python/kdoc/kdoc_output.py b/tools/lib/python/kdoc/k= doc_output.py index d0b237c09391..24ee1fad681e 100644 --- a/tools/lib/python/kdoc/kdoc_output.py +++ b/tools/lib/python/kdoc/kdoc_output.py @@ -607,20 +607,17 @@ class ManFormat(OutputFormat): "%m %d %Y", ] =20 - def emit_th(self, name, modulename =3D None, manual=3DNone): + def emit_th(self, name, modulename =3D None): """Emit a title header line.""" name =3D name.strip() =20 - if not manual: - manual =3D self.manual - if not modulename: modulename =3D self.modulename =20 self.data +=3D f'.TH "{modulename}" {self.section} "{name}" ' - self.data +=3D f'"{self.date}" "{manual}"\n' + self.data +=3D f'"{self.date}" "{self.manual}"\n' =20 - def __init__(self, modulename, section=3D"9", manual=3D"API Manual"): + def __init__(self, modulename, section=3D"9", manual=3D"Kernel API Man= ual"): """ Creates class variables. =20 @@ -751,8 +748,7 @@ class ManFormat(OutputFormat): =20 out_name =3D self.arg_name(args, name) =20 - self.emit_th(out_name, modulename =3D name, - manual=3D"Kernel Hacker\'s Manual") + self.emit_th(out_name, modulename =3D name) =20 self.data +=3D ".SH NAME\n" self.data +=3D f"{name} \\- {args['purpose']}\n" --=20 2.52.0