From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E20745D52; Wed, 20 Nov 2024 15:41:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17ED340285; Wed, 20 Nov 2024 15:41:10 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 4D9694021E for ; Wed, 20 Nov 2024 15:41:08 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A70561063; Wed, 20 Nov 2024 06:41:37 -0800 (PST) Received: from localhost.localdomain (unknown [10.57.58.209]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D34CD3F5A1; Wed, 20 Nov 2024 06:41:06 -0800 (PST) From: Luca Vizzarro To: dev@dpdk.org Cc: Paul Szczepanek , Patrick Robb , Thomas Monjalon , Luca Vizzarro Subject: [PATCH] dts: fix API doc build warnings Date: Wed, 20 Nov 2024 14:41:01 +0000 Message-ID: <20241120144101.1826555-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sphinx-autodoc issues warnings about some symbols due to bad autodoc "automock"ing when optional dependencies are missing. The current meson setup allows to treat warnings as errors, halting the process and exiting early. Given these warnings should be ignored, this patch removes this behavior. Until optional dependencies are enforced, warnings for DTS API docs will be checked manually as part of the DTS approval process. Fixes: 6597fa4a30ad ("dts: add autodoc Pydantic") Signed-off-by: Luca Vizzarro --- doc/api/dts/meson.build | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/api/dts/meson.build b/doc/api/dts/meson.build index fc147f13f3..8a6d061879 100644 --- a/doc/api/dts/meson.build +++ b/doc/api/dts/meson.build @@ -12,9 +12,6 @@ if python_ver_satisfied != 0 endif extra_sphinx_args = ['-E', '-c', join_paths(doc_source_dir, 'guides')] -if get_option('werror') - extra_sphinx_args += '-W' -endif # DTS docs are generated inside main Doxygen docs build directory # DTS docs relies on main docs to install it so does not define install dir -- 2.43.0