Skip to content

Commit feeac01

Browse files
authored
[Doc] Fixed doc api display (#725)
* [Doc] Fixed doc api display * add missing pretty table
1 parent 4d34581 commit feeac01

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ def get_version():
4646
'sphinx_markdown_tables',
4747
]
4848

49-
autodoc_mock_imports = ['matplotlib', 'pycocotools', 'mmseg.version']
49+
autodoc_mock_imports = [
50+
'matplotlib', 'pycocotools', 'mmseg.version', 'mmcv.ops'
51+
]
5052

5153
# Add any paths that contain templates here, relative to this directory.
5254
templates_path = ['_templates']
@@ -79,7 +81,7 @@ def get_version():
7981
# so a file named "default.css" will overwrite the builtin "default.css".
8082
html_static_path = ['_static']
8183

82-
language = 'zh_CN'
84+
language = 'en'
8385

8486

8587
def builder_inited_handler(app):

requirements/readthedocs.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
mmcv
2+
prettytable
23
torch
34
torchvision

0 commit comments

Comments
 (0)