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 A47AB45BB3; Wed, 23 Oct 2024 16:58:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7483E40613; Wed, 23 Oct 2024 16:58:23 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id C225E402DF for ; Wed, 23 Oct 2024 16:58:21 +0200 (CEST) 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 A2FF2339; Wed, 23 Oct 2024 07:58:50 -0700 (PDT) Received: from localhost.localdomain (unknown [10.1.199.45]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4B5AE3F528; Wed, 23 Oct 2024 07:58:20 -0700 (PDT) From: Paul Szczepanek To: dev@dpdk.org Cc: probb@iol.unh.edu, Paul Szczepanek Subject: [PATCH] dts: fix doxygen API link Date: Wed, 23 Oct 2024 15:57:32 +0100 Message-Id: <20241023145732.286071-1-paul.szczepanek@arm.com> X-Mailer: git-send-email 2.39.2 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 Alias used to produce the link to the DTS API docs uses config data. The required value in config data was being added in the wrong scope. This moves the key addition to where the config data object is created. Fixes: 7f9326423a04 ("dts: add API doc generation") Signed-off-by: Paul Szczepanek Acked-by: Patrick Robb --- doc/api/dts/meson.build | 2 -- doc/api/meson.build | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/dts/meson.build b/doc/api/dts/meson.build index 5115df7095..5cb4a68dd4 100644 --- a/doc/api/dts/meson.build +++ b/doc/api/dts/meson.build @@ -11,8 +11,6 @@ if python_ver_satisfied != 0 subdir_done() endif -cdata.set('DTS_API_MAIN_PAGE', join_paths('..', 'dts', 'html', 'index.html')) - extra_sphinx_args = ['-E', '-c', join_paths(doc_source_dir, 'guides')] if get_option('werror') extra_sphinx_args += '-W' diff --git a/doc/api/meson.build b/doc/api/meson.build index ae23e9825e..fdb04e0ec8 100644 --- a/doc/api/meson.build +++ b/doc/api/meson.build @@ -40,6 +40,7 @@ cdata.set('OUTPUT', join_paths(dpdk_build_root, 'doc', 'api')) cdata.set('TOPDIR', dpdk_source_root) cdata.set('STRIP_FROM_PATH', ' '.join([dpdk_source_root, join_paths(dpdk_build_root, 'doc', 'api')])) cdata.set('WARN_AS_ERROR', 'NO') +cdata.set('DTS_API_MAIN_PAGE', join_paths(dpdk_build_root, 'doc', 'api', 'dts', 'html', 'index.html')) if get_option('werror') cdata.set('WARN_AS_ERROR', 'YES') endif -- 2.39.2