Skip to content

Commit ff044c5

Browse files
authored
[Fix] Unified links of readthedocs in docs (open-mmlab#1119)
* change readthedocs * change readthedocs * change readthedocs
1 parent 793e082 commit ff044c5

File tree

2 files changed

+8
-154
lines changed

2 files changed

+8
-154
lines changed

docs/conf.py

Lines changed: 4 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -107,83 +107,10 @@ def get_version():
107107
},
108108
]
109109
},
110-
{
111-
'name':
112-
'Projects',
113-
'children': [
114-
{
115-
'name': 'MMAction2',
116-
'url': 'https://github.com/open-mmlab/mmaction2',
117-
},
118-
{
119-
'name': 'MMClassification',
120-
'url': 'https://github.com/open-mmlab/mmclassification',
121-
},
122-
{
123-
'name': 'MMOCR',
124-
'url': 'https://github.com/open-mmlab/mmocr',
125-
},
126-
{
127-
'name': 'MMDetection',
128-
'url': 'https://github.com/open-mmlab/mmdetection',
129-
},
130-
{
131-
'name': 'MMEditing',
132-
'url': 'https://github.com/open-mmlab/mmediting',
133-
},
134-
{
135-
'name': 'MMDetection3D',
136-
'url': 'https://github.com/open-mmlab/mmdetection3d',
137-
},
138-
{
139-
'name': 'MMPose',
140-
'url': 'https://github.com/open-mmlab/mmpose',
141-
},
142-
{
143-
'name': 'MMTracking',
144-
'url': 'https://github.com/open-mmlab/mmtracking',
145-
},
146-
{
147-
'name': 'MMGeneration',
148-
'url': 'https://github.com/open-mmlab/mmgeneration',
149-
},
150-
{
151-
'name': 'MMFlow',
152-
'url': 'https://github.com/open-mmlab/mmflow',
153-
},
154-
{
155-
'name': 'MMFewShot',
156-
'url': 'https://github.com/open-mmlab/mmfewshot',
157-
},
158-
{
159-
'name': 'MMHuman3D',
160-
'url': 'https://github.com/open-mmlab/mmhuman3d',
161-
},
162-
]
163-
},
164-
{
165-
'name':
166-
'OpenMMLab',
167-
'children': [
168-
{
169-
'name': 'Homepage',
170-
'url': 'https://openmmlab.com/'
171-
},
172-
{
173-
'name': 'GitHub',
174-
'url': 'https://github.com/open-mmlab/'
175-
},
176-
{
177-
'name': 'Twitter',
178-
'url': 'https://twitter.com/OpenMMLab'
179-
},
180-
{
181-
'name': 'Zhihu',
182-
'url': 'https://zhihu.com/people/openmmlab'
183-
},
184-
]
185-
},
186-
]
110+
],
111+
# Specify the language of shared menu
112+
'menu_lang':
113+
'en'
187114
}
188115

189116
# Add any paths that contain custom static files (such as style sheets) here,

docs_zh-CN/conf.py

Lines changed: 4 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -107,83 +107,10 @@ def get_version():
107107
},
108108
]
109109
},
110-
{
111-
'name':
112-
'算法库',
113-
'children': [
114-
{
115-
'name': 'MMAction2',
116-
'url': 'https://github.com/open-mmlab/mmaction2',
117-
},
118-
{
119-
'name': 'MMClassification',
120-
'url': 'https://github.com/open-mmlab/mmclassification',
121-
},
122-
{
123-
'name': 'MMOCR',
124-
'url': 'https://github.com/open-mmlab/mmocr',
125-
},
126-
{
127-
'name': 'MMDetection',
128-
'url': 'https://github.com/open-mmlab/mmdetection',
129-
},
130-
{
131-
'name': 'MMEditing',
132-
'url': 'https://github.com/open-mmlab/mmediting',
133-
},
134-
{
135-
'name': 'MMDetection3D',
136-
'url': 'https://github.com/open-mmlab/mmdetection3d',
137-
},
138-
{
139-
'name': 'MMPose',
140-
'url': 'https://github.com/open-mmlab/mmpose',
141-
},
142-
{
143-
'name': 'MMTracking',
144-
'url': 'https://github.com/open-mmlab/mmtracking',
145-
},
146-
{
147-
'name': 'MMGeneration',
148-
'url': 'https://github.com/open-mmlab/mmgeneration',
149-
},
150-
{
151-
'name': 'MMFlow',
152-
'url': 'https://github.com/open-mmlab/mmflow',
153-
},
154-
{
155-
'name': 'MMFewShot',
156-
'url': 'https://github.com/open-mmlab/mmfewshot',
157-
},
158-
{
159-
'name': 'MMHuman3D',
160-
'url': 'https://github.com/open-mmlab/mmhuman3d',
161-
},
162-
]
163-
},
164-
{
165-
'name':
166-
'OpenMMLab',
167-
'children': [
168-
{
169-
'name': '官网',
170-
'url': 'https://openmmlab.com/'
171-
},
172-
{
173-
'name': 'GitHub',
174-
'url': 'https://github.com/open-mmlab/'
175-
},
176-
{
177-
'name': '推特',
178-
'url': 'https://twitter.com/OpenMMLab'
179-
},
180-
{
181-
'name': '知乎',
182-
'url': 'https://zhihu.com/people/openmmlab'
183-
},
184-
]
185-
},
186-
]
110+
],
111+
# Specify the language of shared menu
112+
'menu_lang':
113+
'cn',
187114
}
188115

189116
# Add any paths that contain custom static files (such as style sheets) here,

0 commit comments

Comments
 (0)