From cbaafb69fc927890cded16b70e5f2c7bd8b5b687 Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Fri, 1 Mar 2024 22:21:46 +0100 Subject: [PATCH] docs: Mock modules unavailable in the CI --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 8c28e2c..54b6045 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -95,6 +95,8 @@ html_theme_options = { # https://github.com/readthedocs/recommonmark/blob/ddd56e7717e9745f11300059e4268e204138a6b1/docs/conf.py # app setup hook +autodoc_mock_imports = ["cupy", "cuquantum"] + def run_apidoc(_): """Extract autodoc directives from package structure."""