mirror of https://github.com/open-mmlab/mmyolo.git
[Docs] Optimize Readthedocs page display (#209)
* Adjust the logo size * Fix the language typepull/249/head
parent
b95bf63916
commit
2fdbe3c4e7
|
@ -1,6 +1,6 @@
|
|||
.header-logo {
|
||||
background-image: url("../image/mmyolo-logo.png");
|
||||
background-size: 156px 40px;
|
||||
background-size: 115px 40px;
|
||||
height: 40px;
|
||||
width: 156px;
|
||||
width: 115px;
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ html_theme_options = {
|
|||
},
|
||||
],
|
||||
# Specify the language of shared menu
|
||||
'menu_lang': 'cn',
|
||||
'menu_lang': 'en',
|
||||
}
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
|
@ -101,8 +101,6 @@ html_theme_options = {
|
|||
html_static_path = ['_static']
|
||||
html_css_files = ['css/readthedocs.css']
|
||||
|
||||
language = 'zh_CN'
|
||||
|
||||
# -- Extension configuration -------------------------------------------------
|
||||
# Ignore >>> when copying code
|
||||
copybutton_prompt_text = r'>>> |\.\.\. '
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.header-logo {
|
||||
background-image: url("../image/mmyolo-logo.png");
|
||||
background-size: 156px 40px;
|
||||
background-size: 115px 40px;
|
||||
height: 40px;
|
||||
width: 156px;
|
||||
width: 115px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue