From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 6ADA83314CE for ; Thu, 28 Aug 2025 17:03:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756400586; cv=none; b=K/c+iQQ6RBWbwgUFMDkxgAfrkNIxULRNKmxFn2Nlz56Dvkk5WhkBNFaymfuseYXL4lh9gEtYjgzgxCYXnN4slecijFQ/HMWA3qIJtYmMLfp2XAA1gzup0YXAKCOG6aF48V6zmmEAGc7hZArm/JjJDXJ3YRWTwyvjDYRZNkXeecI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756400586; c=relaxed/simple; bh=lc4yQLlGQ1ALDQQJS7QLyBBBdQD7Q9TQBdMpceMI9hk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nvcb8cBt/zj0ZulNVq+30sqo6Y63/UkaoVz9n1j9WlDNF2SG9eUY49cNMmfC3On0JfTbJNaHkinmYa0mMlBaFhVySm2wEnqeD5kCk5TPXqirWAyw3g+jd7oUvI64vaCI+6oiCOEd7GWpFYDxklxNTGdVzToi2WKX2IXxiC9HBBc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=K88uUqBi; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="K88uUqBi" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id DA5A31A0E42; Thu, 28 Aug 2025 17:03:01 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id AA3DF60303; Thu, 28 Aug 2025 17:03:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 21CAF1C22DD92; Thu, 28 Aug 2025 19:02:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1756400580; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=4Vex+Mkvb0GemWYHmwN2TZzE127JKaTead6sfS0g/BY=; b=K88uUqBiCBmZYOXjE7eaX15VQS5Y/Ibuox7+bHeNP1PTVBAlgYC+/JcBeCy6VcGGzpV4pj 5No3PKiewSUFyztDWjZSg+SYBIXI2j0TZhjP3cxfVJ88Mx+1bo5P2g9YaAF61MGTFZZkxo D2ihndxTq0UfY28cIyiTH2qPn9Dq1nbuknrDK7XN/4dT/MWkC/sxPuZtqKHDnhflmMF3pn yTMwbfDlvSzkX1GmcMlpSQ1ooW/TrcLB+VoyYLFDB6P4uBwurHDppwCnHU9e7cVR/409Wg JE73AvIf6jwNIVWuXKZmfeRuk+M/VLeO/ev5PyXFvCOiExR3xWCLmP/Cwl9+kQ== Date: Thu, 28 Aug 2025 19:02:43 +0200 From: Kory Maincent To: Mauro Carvalho Chehab Cc: "Message-ID :" , Linux Doc Mailing List , "Akira Yokosawa" , "Breno Leitao" , "David S. Miller" , "Donald Hunter" , "Eric Dumazet" , "Ignacio Encinas Rubio" , "Jakub Kicinski" , "Jan Stancek" , "Jonathan Corbet" , "Marco Elver" , "Paolo Abeni" , "Randy Dunlap" , "Ruben Wauters" , "Shuah Khan" , "Simon Horman" , joel@joelfernandes.org, linux-kernel-mentees@lists.linux.dev, linux-kernel@vger.kernel.org, lkmm@lists.linux.dev, netdev@vger.kernel.org, peterz@infradead.org, stern@rowland.harvard.edu Subject: Re: [PATCH v10 06/14] docs: use parser_yaml extension to handle Netlink specs Message-ID: <20250828190243.0d3f74f6@kmaincent-XPS-13-7390> In-Reply-To: <20250828185037.07873d04@kmaincent-XPS-13-7390> References: <4c97889f0674b69f584dedc543a879d227ef5de0.1753718185.git.mchehab+huawei@kernel.org> <20250828185037.07873d04@kmaincent-XPS-13-7390> Organization: bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: netdev@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 X-Last-TLS-Session-Version: TLSv1.3 Le Thu, 28 Aug 2025 18:50:37 +0200, Kory Maincent a =C3=A9crit : > Le Mon, 28 Jul 2025 18:01:59 +0200, > Mauro Carvalho Chehab a =C3=A9crit : >=20 > > Instead of manually calling ynl_gen_rst.py, use a Sphinx extension. > > This way, no .rst files would be written to the Kernel source > > directories. > >=20 > > We are using here a toctree with :glob: property. This way, there > > is no need to touch the netlink/specs/index.rst file every time > > a new Netlink spec is added/renamed/removed. =20 >=20 > ... >=20 > > diff --git a/Documentation/networking/index.rst > > b/Documentation/networking/index.rst index ac90b82f3ce9..b7a4969e9bc9 1= 00644 > > --- a/Documentation/networking/index.rst > > +++ b/Documentation/networking/index.rst > > @@ -57,7 +57,7 @@ Contents: > > filter > > generic-hdlc > > generic_netlink > > - netlink_spec/index > > + ../netlink/specs/index =20 >=20 > Faced a doc build warning that say netlink_spec/index.rst is not used. >=20 > $ git grep netlink_spec > Documentation/networking/mptcp.rst:netlink_spec/mptcp_pm.rst. > Documentation/translations/zh_CN/networking/index.rst:* netlink_spec/in= dex >=20 > I think we can remove the whole directory and change these, right? Oops just saw that is was some local leftover. This first warning get remov= ed with a clean tree. =20 > Also got a doc build warning that says netlink/specs/index is not existing > even if it exists. Maybe a sphinx parsing issue ?! >=20 > Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com