diff --git a/docs/source/conf.py b/docs/source/conf.py index ace6a6ba..a9e0494e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -12,8 +12,8 @@ sys.path.insert(0, os.path.abspath('../..')) sys.path.insert(0, os.path.abspath('../../PyNite')) -from PyNite import FEModel3D -import numpy +# autodoc settings +autodoc_mock_imports = ['numpy'] # Mock the numpy import # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information