On Thu, Apr 30, 2020 at 11:30:00AM +0200, olichtne(a)redhat.com wrote:
From: Ondrej Lichtner <olichtne(a)redhat.com>
These external dependencies are not needed to build the documentation
and cause problems in the readthedocs build environment. Mainly ethtool
and libvirt cannot be installed at all due to depending on C modules.
The others ar ejust unnecessary so I added them to make the environment
slightly lighter.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
docs/source/conf.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 34fa73e..e8784ca 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -65,4 +65,6 @@
autodoc_inherit_docstrings = False
+autodoc_mock_imports = ["pyroute2", "libvirt", "ethtool",
"lxml", "yaml"]
+
master_doc = "index"
--
2.26.2
pushed.
-Ondrej