From 1348e8049c83ac2f656935b5ecfa7b60852e9b06 Mon Sep 17 00:00:00 2001 From: Ethan Harris Date: Mon, 16 Aug 2021 17:01:03 +0100 Subject: [PATCH] Fix sphinx build (#663) * Try * Try * Fixes --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 73143d8742..de578a2121 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -162,7 +162,7 @@ def _package_list_from_file(pfile): "pytorch-tabnet": "pytorch_tabnet", "pyDeprecate": "deprecate", } -MOCK_PACKAGES = [] +MOCK_PACKAGES = ["numpy", "PyYAML", "tqdm"] if SPHINX_MOCK_REQUIREMENTS: # mock also base packages when we are on RTD since we don't install them there MOCK_PACKAGES += _package_list_from_file(os.path.join(_PATH_ROOT, "requirements.txt"))