mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
[Doc] Fixed doc api display (#725)
* [Doc] Fixed doc api display * add missing pretty table
This commit is contained in:
parent
095ed243c0
commit
ef819df1b9
@ -46,7 +46,9 @@ extensions = [
|
|||||||
'sphinx_markdown_tables',
|
'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.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
@ -79,7 +81,7 @@ html_theme = 'sphinx_rtd_theme'
|
|||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
html_static_path = ['_static']
|
html_static_path = ['_static']
|
||||||
|
|
||||||
language = 'zh_CN'
|
language = 'en'
|
||||||
|
|
||||||
|
|
||||||
def builder_inited_handler(app):
|
def builder_inited_handler(app):
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
mmcv
|
mmcv
|
||||||
|
prettytable
|
||||||
torch
|
torch
|
||||||
torchvision
|
torchvision
|
||||||
|
Loading…
x
Reference in New Issue
Block a user