mirror of
https://github.com/open-mmlab/mmcv.git
synced 2025-06-03 21:54:52 +08:00
Fix the missing numpy module for readthedocs (#182)
* Fix the missing numpy module for readthedocs * fix the linting
This commit is contained in:
parent
0874642fb0
commit
e127ef28db
@ -49,7 +49,9 @@ extensions = [
|
||||
'recommonmark',
|
||||
]
|
||||
|
||||
autodoc_mock_imports = ['cv2', 'torch', 'enum', 'pathlib', 'mmcv._ext']
|
||||
autodoc_mock_imports = [
|
||||
'cv2', 'numpy', 'torch', 'enum', 'pathlib', 'mmcv._ext'
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
Loading…
x
Reference in New Issue
Block a user