提交 5fa1f902 编写于 作者: C chenkai

Merge branch 'fix-doc' into 'master'

Fix doc

See merge request open-mmlab/mmaction-lite!205
......@@ -48,6 +48,7 @@ pages:
image: $PYTORCH_IMAGE
stage: deploy
script:
- pip install mmcv
- pip install sphinx sphinx_rtd_theme recommonmark sphinx-markdown-tables
- cd docs
- ./add_models.sh
......
API Documentation
=================
API Reference
=============
mmaction.core
-------------
......
......@@ -35,9 +35,8 @@ extensions = [
'recommonmark', 'sphinx_markdown_tables'
]
autodoc_mock_imports = [
'mmaction.version', 'torch', 'torchvision', 'cv2', 'mmcv', 'numpy'
]
# numpy and torch are required
autodoc_mock_imports = ['mmaction.version', 'cv2', 'PIL']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册