* [PATCH] dts: remove external dependency on python docs
@ 2024-11-08 16:29 Paul Szczepanek
2024-11-08 16:43 ` Patrick Robb
0 siblings, 1 reply; 2+ messages in thread
From: Paul Szczepanek @ 2024-11-08 16:29 UTC (permalink / raw)
To: dev; +Cc: probb, Paul Szczepanek, Luca Vizzarro
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.szczepanek@arm.com>
Reviewed-by: Luca Vizzarro <luca.vizzarro@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-08 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-08 16:29 [PATCH] dts: remove external dependency on python docs Paul Szczepanek
2024-11-08 16:43 ` Patrick Robb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).