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 <paul.szczepa...@arm.com>
Reviewed-by: Luca Vizzarro <luca.vizza...@arm.com>
---
 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

Reply via email to