Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beautify doc notes #495

Merged
merged 2 commits into from
Aug 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions docs_zh-CN/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,21 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.viewcode',
'recommonmark', 'sphinx_markdown_tables'
]
'myst_parser',
'recommonmark',
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx_markdown_tables'
] # yapf: disable

autodoc_mock_imports = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No its the mock imports, but the extensions. Please double check the referenced pr

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

'mmedit.version', 'skimage', 'mmcv.ops.ModulatedDeformConv2d',
'mmcv.ops.modulated_deform_conv2d', 'mmcv._ext'
]
'mmcv._ext',
'mmcv.ops.modulated_deform_conv2d',
'mmcv.ops.ModulatedDeformConv2d',
'mmedit.version',
'skimage'
] # yapf: disable

source_suffix = {
'.rst': 'restructuredtext',
Expand Down
1 change: 1 addition & 0 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
myst_parser
recommonmark
sphinx
sphinx_markdown_tables
Expand Down