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
519b4ec0
Unverified
Commit
519b4ec0
authored
Dec 12, 2021
by
Zaida Zhou
Committed by
GitHub
Dec 12, 2021
Browse files
[Docs] Use shared menu (#1574)
parent
48f44b69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
182 deletions
+6
-182
docs/conf.py
docs/conf.py
+3
-90
docs_zh_CN/conf.py
docs_zh_CN/conf.py
+3
-92
No files found.
docs/conf.py
View file @
519b4ec0
...
...
@@ -104,96 +104,9 @@ html_theme_options = {
'name'
:
'GitHub'
,
'url'
:
'https://github.com/open-mmlab/mmcv'
},
{
'name'
:
'Docs'
,
'children'
:
[
{
'name'
:
'MMCV'
,
'url'
:
'https://mmcv.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MIM'
,
'url'
:
'https://openmim.readthedocs.io/en/latest/'
},
{
'name'
:
'MMAction2'
,
'url'
:
'https://mmaction2.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMClassification'
,
'url'
:
'https://mmclassification.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMDetection'
,
'url'
:
'https://mmdetection.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMDetection3D'
,
'url'
:
'https://mmdetection3d.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMEditing'
,
'url'
:
'https://mmediting.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMGeneration'
,
'url'
:
'https://mmgeneration.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMOCR'
,
'url'
:
'https://mmocr.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMPose'
,
'url'
:
'https://mmpose.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMSegmentation'
,
'url'
:
'https://mmsegmentation.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMTracking'
,
'url'
:
'https://mmtracking.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMFlow'
,
'url'
:
'https://mmflow.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMFewShot'
,
'url'
:
'https://mmfewshot.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMHuman3D'
,
'url'
:
'https://mmhuman3d.readthedocs.io/en/latest/'
,
},
]
},
{
'name'
:
'OpenMMLab'
,
'children'
:
[
{
'name'
:
'Homepage'
,
'url'
:
'https://openmmlab.com/'
},
{
'name'
:
'GitHub'
,
'url'
:
'https://github.com/open-mmlab/'
},
{
'name'
:
'Twitter'
,
'url'
:
'https://twitter.com/OpenMMLab'
},
{
'name'
:
'Zhihu'
,
'url'
:
'https://zhihu.com/people/openmmlab'
},
]
},
]
],
# Specify the language of shared menu
'menu_lang'
:
'en'
,
}
# Add any paths that contain custom static files (such as style sheets) here,
...
...
docs_zh_CN/conf.py
View file @
519b4ec0
...
...
@@ -106,98 +106,9 @@ html_theme_options = {
'name'
:
'GitHub'
,
'url'
:
'https://github.com/open-mmlab/mmcv'
},
{
'name'
:
'文档'
,
'children'
:
[
{
'name'
:
'MMCV'
,
'url'
:
'https://mmcv.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MIM'
,
'url'
:
'https://openmim.readthedocs.io/en/latest/'
},
{
'name'
:
'MMAction2'
,
'url'
:
'https://mmaction2.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMClassification'
,
'url'
:
'https://mmclassification.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMDetection'
,
'url'
:
'https://mmdetection.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMDetection3D'
,
'url'
:
'https://mmdetection3d.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMEditing'
,
'url'
:
'https://mmediting.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMGeneration'
,
'url'
:
'https://mmgeneration.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMOCR'
,
'url'
:
'https://mmocr.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMPose'
,
'url'
:
'https://mmpose.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMSegmentation'
,
'url'
:
'https://mmsegmentation.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMTracking'
,
'url'
:
'https://mmtracking.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMFlow'
,
'url'
:
'https://mmflow.readthedocs.io/en/latest/'
,
},
{
'name'
:
'MMFewShot'
,
'url'
:
'https://mmfewshot.readthedocs.io/zh_CN/latest/'
,
},
{
'name'
:
'MMHuman3D'
,
'url'
:
'https://mmhuman3d.readthedocs.io/en/latest/'
,
},
]
},
{
'name'
:
'OpenMMLab'
,
'children'
:
[
{
'name'
:
'主页'
,
'url'
:
'https://openmmlab.com/'
},
{
'name'
:
'GitHub'
,
'url'
:
'https://github.com/open-mmlab/'
},
{
'name'
:
'推特'
,
'url'
:
'https://twitter.com/OpenMMLab'
},
{
'name'
:
'知乎'
,
'url'
:
'https://zhihu.com/people/openmmlab'
},
]
},
]
],
# Specify the language of shared menu
'menu_lang'
:
'cn'
,
}
# Add any paths that contain custom static files (such as style sheets) here,
...
...
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