doc: show logo only

Since logo already brings to home page, remove the link displayed above.
It saves some vertical pixels while making docs nicer. Also adjusted
wy-menu-vertical max-height to account for the new height (note: was
wrong before).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-05-17 19:22:17 +02:00 committed by Anas Nashif
commit f0d3db29ed
2 changed files with 5 additions and 3 deletions

View file

@ -837,7 +837,7 @@ kbd, .kbd {
.wy-menu.wy-menu-vertical {
overflow-y: auto;
overflow-x: hidden;
max-height: calc(100% - 348px);
max-height: calc(100% - 243px);
}
@media screen and (max-width: 768px) {
.wy-nav-side {

View file

@ -116,7 +116,10 @@ rst_epilog = """
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_options = {"prev_next_buttons_location": None}
html_theme_options = {
"logo_only": True,
"prev_next_buttons_location": None
}
html_title = "Zephyr Project Documentation"
html_logo = "_static/images/logo.svg"
html_favicon = "images/zp_favicon.png"
@ -134,7 +137,6 @@ html_context = {
"show_license": True,
"docs_title": docs_title,
"is_release": is_release,
"theme_logo_only": False,
"current_version": version,
"versions": (
("latest", "/"),