Skip to content

Commit 75cfaf0

Browse files
committed
v2: Add mock import for cv2 (used in atari_wrapper)
1 parent 03132cc commit 75cfaf0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ sphinx:
103103
config : # key-value pairs to directly over-ride the Sphinx configuration
104104
autodoc_typehints_format: "short"
105105
autodoc_member_order: "bysource"
106+
autodoc_mock_imports:
107+
# mock imports for optional dependencies (e.g. dependencies of atari/atari_wrapper)
108+
- cv2
106109
autoclass_content: "both"
107110
autodoc_default_options:
108111
show-inheritance: True

0 commit comments

Comments
 (0)