[Docs] Configure Myst-parser to parse anchor tag (#85)

pull/80/merge
BigDong 2022-05-19 00:32:32 +08:00 committed by GitHub
parent 3f3b6b4fd0
commit d977793969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -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.

View File

@ -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.