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 0EA6245CB4; Fri, 8 Nov 2024 17:30:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9112443348; Fri, 8 Nov 2024 17:30:09 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id B22644025C for ; Fri, 8 Nov 2024 17:30: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 AB2A4339; Fri, 8 Nov 2024 08:30:37 -0800 (PST) Received: from localhost.localdomain (unknown [10.57.64.186]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 18E403F66E; Fri, 8 Nov 2024 08:30:06 -0800 (PST) From: Paul Szczepanek To: dev@dpdk.org Cc: probb@iol.unh.edu, Paul Szczepanek , Luca Vizzarro Subject: [PATCH] dts: remove external dependency on python docs Date: Fri, 8 Nov 2024 16:29:45 +0000 Message-Id: <20241108162945.699545-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 Sphinx can link to online python docs but doing so creates a requirement for an internet connection. This commit removes this dependency. Signed-off-by: Paul Szczepanek Reviewed-by: Luca Vizzarro --- doc/guides/conf.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index b553d9d5bf..b1ad3bb5a6 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -59,7 +59,7 @@ # DTS API docs additional configuration if environ.get('DTS_DOC_BUILD'): - extensions = ['sphinx.ext.napoleon', 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx'] + extensions = ['sphinx.ext.napoleon', 'sphinx.ext.autodoc'] # Napoleon enables the Google format of Python doscstrings. napoleon_numpy_docstring = False napoleon_attr_annotations = True @@ -76,9 +76,6 @@ autodoc_typehints_format = 'short' autodoc_typehints_description_target = 'documented' - # Intersphinx allows linking to external projects, such as Python docs. - intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} - # DTS docstring options. add_module_names = False toc_object_entries = True -- 2.39.2