Unverified Commit fb9af9f3 authored by Zaida Zhou's avatar Zaida Zhou Committed by GitHub
Browse files

[Docs] Fix heading anchor in documentation (#1945)

parent 19b1d363
...@@ -54,6 +54,8 @@ extensions = [ ...@@ -54,6 +54,8 @@ extensions = [
'sphinx_copybutton', 'sphinx_copybutton',
] # yapf: disable ] # yapf: disable
myst_heading_anchors = 4
autodoc_mock_imports = ['mmcv._ext', 'mmcv.utils.ext_loader', 'torchvision'] autodoc_mock_imports = ['mmcv._ext', 'mmcv.utils.ext_loader', 'torchvision']
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
......
...@@ -55,6 +55,8 @@ extensions = [ ...@@ -55,6 +55,8 @@ extensions = [
'sphinx_copybutton', 'sphinx_copybutton',
] # yapf: disable ] # yapf: disable
myst_heading_anchors = 4
autodoc_mock_imports = ['mmcv._ext', 'mmcv.utils.ext_loader', 'torchvision'] autodoc_mock_imports = ['mmcv._ext', 'mmcv.utils.ext_loader', 'torchvision']
autosectionlabel_prefix_document = True autosectionlabel_prefix_document = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment