Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
fb9af9f3
Unverified
Commit
fb9af9f3
authored
May 09, 2022
by
Zaida Zhou
Committed by
GitHub
May 09, 2022
Browse files
[Docs] Fix heading anchor in documentation (#1945)
parent
19b1d363
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
docs/en/conf.py
docs/en/conf.py
+2
-0
docs/zh_cn/conf.py
docs/zh_cn/conf.py
+2
-0
No files found.
docs/en/conf.py
View file @
fb9af9f3
...
@@ -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.
...
...
docs/zh_cn/conf.py
View file @
fb9af9f3
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment