Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
76d9bf1e
Unverified
Commit
76d9bf1e
authored
Jun 28, 2021
by
Zaida Zhou
Committed by
GitHub
Jun 28, 2021
Browse files
[Docs] Fix error when cv2 is mocked (#1152)
parent
797ef57e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
docs/conf.py
docs/conf.py
+1
-3
requirements/docs.txt
requirements/docs.txt
+1
-0
No files found.
docs/conf.py
View file @
76d9bf1e
...
...
@@ -54,9 +54,7 @@ extensions = [
'sphinx_markdown_tables'
]
# yapf: disable
autodoc_mock_imports
=
[
'cv2'
,
'mmcv._ext'
,
'mmcv.utils.ext_loader'
,
'torchvision'
]
autodoc_mock_imports
=
[
'mmcv._ext'
,
'mmcv.utils.ext_loader'
,
'torchvision'
]
autosectionlabel_prefix_document
=
True
# Add any paths that contain templates here, relative to this directory.
...
...
requirements/docs.txt
View file @
76d9bf1e
m2r
opencv-python
sphinx_markdown_tables
torch
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment