[Docs] Optimize Readthedocs page display (#209)

* Adjust the logo size

* Fix the language type
pull/249/head
Range King 2022-10-31 14:12:02 +08:00 committed by Haian Huang(深度眸)
parent b95bf63916
commit 2fdbe3c4e7
3 changed files with 5 additions and 7 deletions

View File

@ -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;
}

View File

@ -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'>>> |\.\.\. '

View File

@ -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;
}