[Fix] Fix docs generation.
parent
5078869b4b
commit
e57b8cb33b
|
@ -51,7 +51,7 @@ extensions = [
|
||||||
'sphinx_copybutton',
|
'sphinx_copybutton',
|
||||||
]
|
]
|
||||||
|
|
||||||
autodoc_mock_imports = ['mmcv._ext']
|
autodoc_mock_imports = ['mmcv._ext', 'matplotlib']
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
|
|
@ -51,7 +51,7 @@ extensions = [
|
||||||
'sphinx_copybutton',
|
'sphinx_copybutton',
|
||||||
]
|
]
|
||||||
|
|
||||||
autodoc_mock_imports = ['mmcv._ext']
|
autodoc_mock_imports = ['mmcv._ext', 'matplotlib']
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
|
Loading…
Reference in New Issue