From nobody Fri Oct 10 15:59:39 2025 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 568A72E7F14; Fri, 13 Jun 2025 11:42:47 +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=1749814967; cv=none; b=fO3nZWvGSq5HIX95sL4CyzaCKJzH9bBowMnXrkD133D3GswI3ukNXfalAwKXpIIAk8hbDXVe4D2Nqbsq6i1fa4W/Mc2QwREPK+2TxKHB14Mk1FtcXkKomiUlZIbC5sWVDrwAeBTIXb25BS5lfg/5uENlskpFBJyzjdJcTkSsqYI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749814967; c=relaxed/simple; bh=FsS6lOMAqt6O4kSiWFDk/a19S4XMRpll04UTzLeJcwU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=m1Ri9Er824UnFP8PwBSBWv/wCVJ6JGw66OyJtDZ4EwuHz+IO5crhHGLqiyCBDGigSyAhBCuzchGX7xw9WGYSf3Hq9/xj81J7EUX7TNJQUCMNFMdWIqnCYpnkxN025z8LOlm0Sa4Xd6coK3WMMCayzyfWv9RZ6azSgV3/z2n5Uos= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sOWEBoJZ; 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="sOWEBoJZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F05C7C4CEF4; Fri, 13 Jun 2025 11:42:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749814967; bh=FsS6lOMAqt6O4kSiWFDk/a19S4XMRpll04UTzLeJcwU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sOWEBoJZ4vIFTsylM2WbefCfKVG/jZ9zBR7K4NKzUvNInZxR4/2AQ6bRJMbqrITo8 bcSDxDthQft49+QvovfnkDU4DbL0DKwBzoo06vee/WU60tAqCB8OZK2xWgze6nOAzo RkguEgrgh1CBZKcr9zVVt1Tb6ewbQ+Xups5Q7+ihBapQNEo/pyICfppBZ5Rjv73xsH 6KCCbsLQIi9B5XeAJqPsJ4JEDtjXoge/CmB+O7m2lifCkUsLNf0c+mIb3BfXuy9/rF E8ztchjxy1pEf5jgIknUm/jYth6oBu43XmterWANGYoA8u+sfCH3aWml0b0+D5TEpY T9GUN4lwR6Lpw== Received: from mchehab by mail.kernel.org with local (Exim 4.98.2) (envelope-from ) id 1uQ2o1-00000005dFS-0n5d; Fri, 13 Jun 2025 13:42:45 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , "Akira Yokosawa" , "Breno Leitao" , "David S. Miller" , "Donald Hunter" , "Eric Dumazet" , "Ignacio Encinas Rubio" , "Jan Stancek" , "Marco Elver" , "Mauro Carvalho Chehab" , "Paolo Abeni" , "Ruben Wauters" , "Shuah Khan" , 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: [PATCH v3 12/16] docs: conf.py: don't handle yaml files outside Netlink specs Date: Fri, 13 Jun 2025 13:42:33 +0200 Message-ID: X-Mailer: git-send-email 2.49.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 The parser_yaml extension already has a logic to prevent handing all yaml documents. However, if we don't also exclude the patterns at conf.py, the build time would increase a lot, and warnings like those would be generated: Documentation/netlink/genetlink.yaml: WARNING: o documento n=C3=A3o est= =C3=A1 inclu=C3=ADdo em nenhum toctree Documentation/netlink/genetlink-c.yaml: WARNING: o documento n=C3=A3o e= st=C3=A1 inclu=C3=ADdo em nenhum toctree Documentation/netlink/genetlink-legacy.yaml: WARNING: o documento n=C3= =A3o est=C3=A1 inclu=C3=ADdo em nenhum toctree Documentation/netlink/index.rst: WARNING: o documento n=C3=A3o est=C3= =A1 inclu=C3=ADdo em nenhum toctree Documentation/netlink/netlink-raw.yaml: WARNING: o documento n=C3=A3o e= st=C3=A1 inclu=C3=ADdo em nenhum toctree Add some exclusion rules to prevent that. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/conf.py b/Documentation/conf.py index add6ce78dd80..b8668bcaf090 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -222,7 +222,11 @@ language =3D 'en' =20 # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns =3D ['output'] +exclude_patterns =3D [ + 'output', + 'devicetree/bindings/**.yaml', + 'netlink/*.yaml', +] =20 # The reST default role (used for this markup: `text`) to use for all # documents. --=20 2.49.0