Skip to content

Commit

Permalink
[Doc] Fixed doc api display (#725)
Browse files Browse the repository at this point in the history
* [Doc] Fixed doc api display

* add missing pretty table
  • Loading branch information
xvjiarui authored Jul 25, 2021
1 parent 4d34581 commit feeac01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def get_version():
'sphinx_markdown_tables',
]

autodoc_mock_imports = ['matplotlib', 'pycocotools', 'mmseg.version']
autodoc_mock_imports = [
'matplotlib', 'pycocotools', 'mmseg.version', 'mmcv.ops'
]

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

language = 'zh_CN'
language = 'en'


def builder_inited_handler(app):
Expand Down
1 change: 1 addition & 0 deletions requirements/readthedocs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mmcv
prettytable
torch
torchvision

0 comments on commit feeac01

Please sign in to comment.