summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Szczepanek <[email protected]>2024-11-08 16:04:52 +0000
committerPaul Szczepanek <[email protected]>2024-11-08 18:08:21 +0100
commita0d77f208c4fc58b6af558efb703c3cc3d062abf (patch)
tree33900924b602ed53fc7cf4c9127ac03269e56842
parentdfef829263561809e20d0000dd4cf628a20ba9b2 (diff)
dts: remove external dependency on Python doc
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 <[email protected]> Reviewed-by: Luca Vizzarro <[email protected]> Reviewed-by: Patrick Robb <[email protected]>
-rw-r--r--doc/guides/conf.py5
1 files changed, 1 insertions, 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 @@ man_pages = [("testpmd_app_ug/run_app", "testpmd",
# 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 @@ if environ.get('DTS_DOC_BUILD'):
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