docs: Mock modules unavailable in the CI
This commit is contained in:
@@ -95,6 +95,8 @@ html_theme_options = {
|
|||||||
# https://github.com/readthedocs/recommonmark/blob/ddd56e7717e9745f11300059e4268e204138a6b1/docs/conf.py
|
# https://github.com/readthedocs/recommonmark/blob/ddd56e7717e9745f11300059e4268e204138a6b1/docs/conf.py
|
||||||
# app setup hook
|
# app setup hook
|
||||||
|
|
||||||
|
autodoc_mock_imports = ["cupy", "cuquantum"]
|
||||||
|
|
||||||
|
|
||||||
def run_apidoc(_):
|
def run_apidoc(_):
|
||||||
"""Extract autodoc directives from package structure."""
|
"""Extract autodoc directives from package structure."""
|
||||||
|
|||||||
Reference in New Issue
Block a user