From e57b8cb33be37ec332230d2b4c504364c2b38890 Mon Sep 17 00:00:00 2001 From: mzr1996 Date: Tue, 14 Dec 2021 16:23:04 +0800 Subject: [PATCH] [Fix] Fix docs generation. --- docs/conf.py | 2 +- docs_zh-CN/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d5d58276..a25b8cf4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,7 +51,7 @@ extensions = [ 'sphinx_copybutton', ] -autodoc_mock_imports = ['mmcv._ext'] +autodoc_mock_imports = ['mmcv._ext', 'matplotlib'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/docs_zh-CN/conf.py b/docs_zh-CN/conf.py index f5df9a1a..14b4217f 100644 --- a/docs_zh-CN/conf.py +++ b/docs_zh-CN/conf.py @@ -51,7 +51,7 @@ extensions = [ 'sphinx_copybutton', ] -autodoc_mock_imports = ['mmcv._ext'] +autodoc_mock_imports = ['mmcv._ext', 'matplotlib'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']