[Fix] Fix docs generation.

pull/602/head
mzr1996 2021-12-14 16:23:04 +08:00
parent 5078869b4b
commit e57b8cb33b
2 changed files with 2 additions and 2 deletions

View File

@ -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']

View File

@ -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']