Mock dependencies that aren't strictly needed for docs build

This commit is contained in:
Kenneth Lyons 2020-05-17 20:10:47 -07:00
parent 54ade7dfb8
commit 9d844f3a42
2 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,5 @@
pyside2
numpy
scipy
h5py
matplotlib
pyopengl
sphinx
sphinx_rtd_theme

View File

@ -89,6 +89,11 @@ pygments_style = 'sphinx'
#modindex_common_prefix = []
autodoc_inherit_docstrings = False
autodoc_mock_imports = [
"scipy",
"h5py",
"matplotlib",
]
# -- Options for HTML output ---------------------------------------------------