diff --git a/docs/en/conf.py b/docs/en/conf.py index 6aa57f0..aed370f 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -46,6 +46,10 @@ extensions = [ 'sphinx_markdown_tables', ] +# Enable ::: for my_st +myst_enable_extensions = ['colon_fence'] +myst_heading_anchors = 3 + autodoc_mock_imports = ['matplotlib', 'mmfewshot.version', 'mmcv.ops'] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/zh_cn/conf.py b/docs/zh_cn/conf.py index 5bbdcfa..c2fbc66 100644 --- a/docs/zh_cn/conf.py +++ b/docs/zh_cn/conf.py @@ -46,6 +46,10 @@ extensions = [ 'sphinx_markdown_tables', ] +# Enable ::: for my_st +myst_enable_extensions = ['colon_fence'] +myst_heading_anchors = 3 + autodoc_mock_imports = ['matplotlib', 'mmfewshot.version', 'mmcv.ops'] # Add any paths that contain templates here, relative to this directory.