From c4335f4c50c04e587dca6daa45cd0c06f706242d Mon Sep 17 00:00:00 2001 From: "Florian G. Eich" Date: Fri, 17 Dec 2021 17:18:21 +0100 Subject: [PATCH] added mock import for pyscf to fix auto-doc generation --- doc/conf.py | 2 ++ requirements_docs.txt | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 requirements_docs.txt diff --git a/doc/conf.py b/doc/conf.py index 4a56e99..e3c7964 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -42,6 +42,8 @@ html_logo = 'media/HQS.jpg' +autodoc_mock_imports = ["pyscf"] + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/requirements_docs.txt b/requirements_docs.txt deleted file mode 100644 index 3297214..0000000 --- a/requirements_docs.txt +++ /dev/null @@ -1,3 +0,0 @@ -numpy -scipy -pyscf